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.
This commit is contained in:
Ran Benita
2021-10-30 12:05:39 +03:00
parent 130dcdef76
commit f51289582e

View File

@@ -30,6 +30,14 @@ deps = pytest
commands =
pytest {posargs}
[testenv:linting]
skip_install = True
usedevelop = True
passenv = PRE_COMMIT_HOME
deps =
pre-commit
commands = pre-commit run --all-files --show-diff-on-failure
[testenv:release]
changedir=
decription = do a release, required posarg of the version number