generated from fundor333/django-template
Start it
This commit is contained in:
@@ -1,19 +1,19 @@
|
||||
fail_fast: true
|
||||
repos:
|
||||
- repo: https://github.com/adamchainz/djade-pre-commit
|
||||
rev: "1.4.0" # Replace with the latest tag on GitHub
|
||||
rev: "1.9.0" # Replace with the latest tag on GitHub
|
||||
hooks:
|
||||
- id: djade
|
||||
args: [--target-version, "4.2"] # Replace with Django version
|
||||
- repo: https://github.com/asottile/reorder_python_imports
|
||||
rev: v3.15.0
|
||||
rev: v3.16.0
|
||||
hooks:
|
||||
- id: reorder-python-imports
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 25.1.0
|
||||
rev: 26.3.1
|
||||
hooks:
|
||||
- id: black
|
||||
language_version: python3.9
|
||||
language_version: python3.12
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v6.0.0
|
||||
hooks:
|
||||
@@ -34,7 +34,7 @@ repos:
|
||||
- id: python-no-log-warn
|
||||
- id: python-use-type-annotations
|
||||
- repo: https://github.com/asottile/pyupgrade
|
||||
rev: v3.20.0
|
||||
rev: v3.21.2
|
||||
hooks:
|
||||
- id: pyupgrade
|
||||
args: [ --py311-plus ]
|
||||
|
||||
Reference in New Issue
Block a user