Skip to content

Commit a82c2a2

Browse files
committed
tox: Add 'lint' target
Signed-off-by: Stephen Finucane <[email protected]>
1 parent 5c75fc5 commit a82c2a2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tox.ini

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ setenv =
2626
commands=
2727
python -X dev -X warn_default_encoding -m pytest --durations 25 {posargs}
2828

29+
[testenv:lint]
30+
description =
31+
Run style checks.
32+
deps =
33+
pre-commit
34+
commands =
35+
pre-commit run --all-files --show-diff-on-failure
36+
2937
[testenv:docs]
3038
basepython = python3
3139
description =

0 commit comments

Comments
 (0)