File tree 1 file changed +8
-11
lines changed
1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -45,37 +45,34 @@ commands =
45
45
46
46
[testenv:black]
47
47
commands_pre = poetry install --only black --sync
48
- commands = black .
48
+ commands = make black
49
49
50
50
[testenv:black-check]
51
51
commands_pre = poetry install --only black --sync
52
- commands = black -- check --verbose .
52
+ commands = make black- check
53
53
54
54
[testenv:ruff]
55
55
commands_pre = poetry install --only ruff --sync
56
- commands = ruff check --fix --show-fixes .
56
+ commands = make ruff
57
57
58
58
[testenv:ruff-check]
59
59
commands_pre = poetry install --only ruff --sync
60
- commands = ruff check .
60
+ commands = make ruff- check
61
61
62
62
[testenv:bandit]
63
63
skipsdist = True
64
64
commands_pre = poetry install --only bandit --sync
65
- commands = bandit --configfile . bandit.yaml --recursive black_it tests scripts examples
65
+ commands = make bandit
66
66
67
67
[testenv:vulture]
68
68
skipsdist = True
69
69
commands_pre = poetry install --only vulture --sync
70
- commands =
71
- vulture black_it scripts/whitelists/package_whitelist.py
72
- vulture examples scripts/whitelists/examples_whitelist.py
73
- vulture tests scripts/whitelists/tests_whitelist.py
70
+ commands = make vulture
74
71
75
72
[testenv:darglint]
76
73
skipsdist = True
77
74
commands_pre = poetry install --only darglint --sync
78
- commands = darglint black_it
75
+ commands = make darglint
79
76
80
77
[testenv:docs]
81
78
# From Poetry FAQ "Is tox supported?" (https://python-poetry.org/docs/faq/#use-case-2)
@@ -103,7 +100,7 @@ commands =
103
100
104
101
[testenv:check-copyright]
105
102
deps =
106
- commands = python3 scripts/check_copyright.py
103
+ commands = make check-copyright
107
104
108
105
[testenv:spell_check]
109
106
deps =
You can’t perform that action at this time.
0 commit comments