Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Sync common project files #141

Merged
merged 1 commit into from
Dec 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -156,5 +156,8 @@ dmypy.json
# Auto-generated .gz static files
static/**/*.gz

# Do not ignore translated messages
!locales/**/*.mo

# Do not ignore dist files in vendored static files
!static/vendor/**/dist/
16 changes: 5 additions & 11 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exclude: ^(archive|assets|migrations)/.*|.*/(migrations|test-data|vendor)/.*|.*\
minimum_pre_commit_version: "1.17.0"
repos:
- repo: "https://github.com/commitizen-tools/commitizen"
rev: "v2.37.1"
rev: "v2.38.0"
hooks:
- id: "commitizen"
# By default commitizen using `python3` instead `python` language, so
Expand All @@ -19,22 +19,16 @@ repos:
name: "Format code (no-optional)"

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

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

Expand Down Expand Up @@ -79,12 +73,12 @@ repos:
- "flake8-isort==5.0.3"
- "flake8-mutable==1.2.0"
- "flake8-pie==0.16.0"
- "flake8-quotes==3.3.1"
- "flake8-quotes==3.3.2"
- "flake8-string-format==0.3.0"
- "flake8-tidy-imports==4.8.0"
- "flake8-variables-names==0.0.5"
- "flake8==5.0.4"
- "pep8-naming==0.13.2"
- "pep8-naming==0.13.3"
exclude: ^docs/.*$

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

- repo: "https://github.com/shellcheck-py/shellcheck-py"
rev: "v0.8.0.4"
rev: "v0.9.0.2"
hooks:
- id: "shellcheck"
name: "Lint scripts (shellcheck)"