File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -36,17 +36,18 @@ repos:
3636 - id : biome-check
3737 additional_dependencies : ["@biomejs/biome@^1.0.0"]
3838
39+ # automatically upgrades Django code to migrates patterns and avoid deprecation warnings
3940 - repo : https://github.com/adamchainz/django-upgrade
4041 rev : " 1.25.0"
4142 hooks :
4243 - id : django-upgrade
4344 args : ["--target-version", "4.2"]
4445
45- # Run the Ruff linter.
46+ # runs the ruff linter and formatter
4647 - repo : https://github.com/astral-sh/ruff-pre-commit
4748 rev : v0.12.10
4849 hooks :
49- # Linter
50+ # linter
5051 - id : ruff # runs ruff check --force-exclude
5152 args :
5253 # we have to pick one ruff config between gateway and sdk...
@@ -65,16 +66,18 @@ repos:
6566 " sdk/pyproject.toml" ,
6667 # --show-settings, # for debugging
6768 ]
68- # Formatter
69+ # formatter
6970 - id : ruff-format # runs ruff format --force-exclude
7071 args : [--config, "sdk/pyproject.toml"]
7172
73+ # linter for django templates
7274 - repo : https://github.com/Riverside-Healthcare/djLint
7375 rev : v1.36.4
7476 hooks :
7577 - id : djlint-reformat-django
7678 - id : djlint-django
7779
80+ # linter for markdown files - see .markdownlint.yaml to configure rules
7881 - repo : https://github.com/igorshubovych/markdownlint-cli
7982 rev : " v0.45.0"
8083 hooks :
You can’t perform that action at this time.
0 commit comments