Skip to content

Commit 7e559dc

Browse files
hramezanijeking3
authored andcommitted
Use pre-commit on tox lint.
1 parent 0d892d5 commit 7e559dc

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tox.ini

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,9 @@ commands =
5252
flake8 simple_history
5353

5454
[testenv:lint]
55-
deps = -rrequirements/lint.txt
55+
deps = pre-commit
5656
commands =
57-
isort --check --diff docs simple_history runtests.py setup.py
58-
black --check --diff docs simple_history runtests.py setup.py
59-
flake8 simple_history
57+
pre-commit run --all-files
6058

6159
[testenv:docs]
6260
changedir = docs

0 commit comments

Comments
 (0)