Skip to content

Commit b3b04b2

Browse files
chore: Sync common project files (#307)
Co-authored-by: badabump-release-bot[bot] <badabump-release-bot[bot]@users.noreply.github.com>
1 parent 83c55fe commit b3b04b2

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,5 +156,8 @@ dmypy.json
156156
# Auto-generated .gz static files
157157
static/**/*.gz
158158

159+
# Do not ignore translated messages
160+
!locales/**/*.mo
161+
159162
# Do not ignore dist files in vendored static files
160163
!static/vendor/**/dist/

.pre-commit-config.yaml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ exclude: ^(archive|assets|migrations)/.*|.*/(migrations|test-data|vendor)/.*|.*\
44
minimum_pre_commit_version: "1.17.0"
55
repos:
66
- repo: "https://github.com/commitizen-tools/commitizen"
7-
rev: "v2.37.1"
7+
rev: "v2.38.0"
88
hooks:
99
- id: "commitizen"
1010
# By default commitizen using `python3` instead `python` language, so
@@ -19,22 +19,16 @@ repos:
1919
name: "Format code (no-optional)"
2020

2121
- repo: "https://github.com/PyCQA/isort"
22-
rev: "5.10.1"
22+
rev: "v5.11.3"
2323
hooks:
2424
- id: "isort"
25-
# By default isort using `python3` instead `python` language, so
26-
# needed to provide concrete version here as well
27-
language_version: *python_version
2825
name: "Format code (isort)"
2926
exclude: ^docs/.*$
3027

3128
- repo: "https://github.com/psf/black"
3229
rev: "22.12.0"
3330
hooks:
3431
- id: "black"
35-
# By default black using `python3` instead `python` language, so
36-
# needed to provide concrete version here as well
37-
language_version: *python_version
3832
name: "Format code (black)"
3933
exclude: ^docs/.*$
4034

@@ -79,12 +73,12 @@ repos:
7973
- "flake8-isort==5.0.3"
8074
- "flake8-mutable==1.2.0"
8175
- "flake8-pie==0.16.0"
82-
- "flake8-quotes==3.3.1"
76+
- "flake8-quotes==3.3.2"
8377
- "flake8-string-format==0.3.0"
8478
- "flake8-tidy-imports==4.8.0"
8579
- "flake8-variables-names==0.0.5"
8680
- "flake8==5.0.4"
87-
- "pep8-naming==0.13.2"
81+
- "pep8-naming==0.13.3"
8882
exclude: ^docs/.*$
8983

9084
- repo: "https://github.com/asottile/yesqa"
@@ -106,7 +100,7 @@ repos:
106100
exclude: ^(.*/)?(docs|migrations|tests)/.*$
107101

108102
- repo: "https://github.com/shellcheck-py/shellcheck-py"
109-
rev: "v0.8.0.4"
103+
rev: "v0.9.0.2"
110104
hooks:
111105
- id: "shellcheck"
112106
name: "Lint scripts (shellcheck)"

0 commit comments

Comments
 (0)