mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-10 14:54:17 +00:00
Add warnings when --jobs is invalid
Some platforms and options are not compatible with the --jobs option. For example, it is not valid on Windows. Nor is it compatible with the --diff option. This adds warnings when the --jobs option is supplied but is not allowed.
This commit is contained in:
parent
a9f375aa93
commit
c3f5d144bc
3 changed files with 203 additions and 0 deletions
3
tox.ini
3
tox.ini
|
|
@ -6,9 +6,12 @@ envlist =
|
|||
[testenv]
|
||||
usedevelop = True
|
||||
deps =
|
||||
nose
|
||||
mock
|
||||
commands =
|
||||
python setup.py test -q
|
||||
python setup.py flake8
|
||||
nosetests flake8.tests.toast_warnings
|
||||
|
||||
[testenv:py27-flake8]
|
||||
basepython = python2.7
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue