File tree Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 1212pylint-django
1313wily
1414yapf
15+ sourcery-analytics
Original file line number Diff line number Diff line change @@ -14,16 +14,18 @@ repos:
1414 - id : requirements-txt-fixer
1515 - id : trailing-whitespace
1616 - repo : https://github.com/PyCQA/isort
17- rev : 5.11.4
17+ rev : 5.12.0
1818 hooks :
1919 - id : isort
2020 args :
2121 - " --profile=black"
22+ exclude : ^.devcontainer/
2223 - repo : https://github.com/psf/black
23- rev : 22.12 .0
24+ rev : 23.1 .0
2425 hooks :
2526 - id : black
2627 language_version : python3
28+ exclude : ^.devcontainer/
2729 - repo : https://github.com/asottile/add-trailing-comma
2830 rev : v2.4.0
2931 hooks :
3436 rev : 6.0.0
3537 hooks :
3638 - id : flake8
39+ exclude : ^.devcontainer/
3740 - repo : https://github.com/asottile/pyupgrade
3841 rev : v3.3.1
3942 hooks :
@@ -44,6 +47,12 @@ repos:
4447 rev : v1.29.0
4548 hooks :
4649 - id : yamllint
50+ - repo : https://github.com/econchick/interrogate
51+ rev : 1.5.0
52+ hooks :
53+ - id : interrogate
54+ args : [--fail-under=90, --verbose]
55+ exclude : (^.devcontainer/|^netbox_acls/migrations/)
4756 # - repo: https://github.com/Lucas-C/pre-commit-hooks-nodejs
4857 # rev: v1.1.2
4958 # hooks:
@@ -61,3 +70,13 @@ repos:
6170 # verbose: true
6271 # language: python
6372 # additional_dependencies: [wily]
73+ # - repo: https://github.com/sourcery-ai/sourcery
74+ # rev: v1.0.4b23
75+ # hooks:
76+ # - id: sourcery
77+ # # The best way to use Sourcery in a pre-commit hook:
78+ # # * review only changed lines:
79+ # # * omit the summary
80+ # args:
81+ # - --diff=git diff HEAD
82+ # - --no-summary
You can’t perform that action at this time.
0 commit comments