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 12
12
pylint-django
13
13
wily
14
14
yapf
15
+ sourcery-analytics
Original file line number Diff line number Diff line change @@ -14,16 +14,18 @@ repos:
14
14
- id : requirements-txt-fixer
15
15
- id : trailing-whitespace
16
16
- repo : https://github.com/PyCQA/isort
17
- rev : 5.11.4
17
+ rev : 5.12.0
18
18
hooks :
19
19
- id : isort
20
20
args :
21
21
- " --profile=black"
22
+ exclude : ^.devcontainer/
22
23
- repo : https://github.com/psf/black
23
- rev : 22.12 .0
24
+ rev : 23.1 .0
24
25
hooks :
25
26
- id : black
26
27
language_version : python3
28
+ exclude : ^.devcontainer/
27
29
- repo : https://github.com/asottile/add-trailing-comma
28
30
rev : v2.4.0
29
31
hooks :
34
36
rev : 6.0.0
35
37
hooks :
36
38
- id : flake8
39
+ exclude : ^.devcontainer/
37
40
- repo : https://github.com/asottile/pyupgrade
38
41
rev : v3.3.1
39
42
hooks :
@@ -44,6 +47,12 @@ repos:
44
47
rev : v1.29.0
45
48
hooks :
46
49
- 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/)
47
56
# - repo: https://github.com/Lucas-C/pre-commit-hooks-nodejs
48
57
# rev: v1.1.2
49
58
# hooks:
@@ -61,3 +70,13 @@ repos:
61
70
# verbose: true
62
71
# language: python
63
72
# 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