Skip to content

Commit d08a7a4

Browse files
committed
Change linting tox env to use pre-commit checks
1 parent ab46694 commit d08a7a4

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

tox.ini

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ commands =
1515
[testenv:linting]
1616
skipsdist = True
1717
usedevelop = True
18-
deps =
19-
pytest-flakes
20-
restructuredtext_lint
21-
pygments
22-
commands =
23-
pytest --flakes pytest_mock.py test_pytest_mock.py -m flakes
24-
rst-lint CHANGELOG.rst README.rst
18+
extras = dev
19+
basepython = python3.6
20+
commands = pre-commit run --all-files --show-diff-on-failure

0 commit comments

Comments
 (0)