mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Move linting requirements to a requirements file
This commit is contained in:
parent
c57705d1e4
commit
69783941c7
2
tools/lint-requirements.txt
Normal file
2
tools/lint-requirements.txt
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
flake8 == 3.3.0
|
||||||
|
isort == 4.2.5
|
4
tox.ini
4
tox.ini
|
@ -34,9 +34,7 @@ commands =
|
||||||
python setup.py check -m -r -s
|
python setup.py check -m -r -s
|
||||||
|
|
||||||
[lint]
|
[lint]
|
||||||
deps =
|
deps = -r{toxinidir}/tools/lint-requirements.txt
|
||||||
flake8==3.3.0
|
|
||||||
isort==4.2.5
|
|
||||||
commands =
|
commands =
|
||||||
flake8 .
|
flake8 .
|
||||||
isort --recursive --check-only --diff src/pip tests
|
isort --recursive --check-only --diff src/pip tests
|
||||||
|
|
Loading…
Reference in a new issue