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

Update pre-commit hooks to latest and add in folder to skip for pretty json #48

Merged
merged 2 commits into from
Feb 21, 2024
Merged
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
23 changes: 10 additions & 13 deletions _app_common/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
exclude: ^lib
exclude: ^deps
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.5.0
hooks:
- id: check-added-large-files
args: ['--maxkb=500']
Expand All @@ -17,6 +17,8 @@ repos:
- id: check-yaml
- id: debug-statements
- id: detect-aws-credentials
args:
- '--allow-missing-credentials'
- id: detect-private-key
- id: double-quote-string-fixer
- id: end-of-file-fixer
Expand All @@ -30,37 +32,32 @@ repos:
- id: pretty-format-json
args:
- --autofix
exclude: ^tests/.+/profiles.d/.*
exclude: '^tests/.+/profiles.d/.*|^tests/.+/staged_requests/.*'
- id: requirements-txt-fixer
- id: trailing-whitespace
- repo: https://github.com/pycqa/bandit
rev: 1.7.4
rev: 1.7.7
hooks:
- id: bandit
args: [--exclude, tests]
- repo: https://github.com/psf/black
rev: 22.10.0
rev: 24.2.0
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
hooks:
- id: flake8
- repo: https://github.com/pre-commit/mirrors-isort
rev: v5.10.1
hooks:
- id: isort
- repo: https://github.com/pycqa/pydocstyle
rev: 6.1.1
rev: 6.3.0
hooks:
- id: pydocstyle
- repo: https://github.com/asottile/pyupgrade
rev: v3.2.2
rev: v3.15.1
hooks:
- id: pyupgrade
args:
- --py3-plus
- --py36-plus
- --py311-plus
- repo: https://github.com/yunojuno/pre-commit-xenon
rev: v0.1
hooks:
Expand Down
Loading