Skip to content

Commit f512895

Browse files
committed
Bring back tox -e linting
It just runs pre-commit, and CI doesn't use i,t but I still find it useful for local development.
1 parent 130dcde commit f512895

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
@@ -30,6 +30,14 @@ deps = pytest
3030
commands =
3131
pytest {posargs}
3232

33+
[testenv:linting]
34+
skip_install = True
35+
usedevelop = True
36+
passenv = PRE_COMMIT_HOME
37+
deps =
38+
pre-commit
39+
commands = pre-commit run --all-files --show-diff-on-failure
40+
3341
[testenv:release]
3442
changedir=
3543
decription = do a release, required posarg of the version number

0 commit comments

Comments
 (0)