lint check by pylama
This commit is contained in:
1 parent
e9d5398eaa
commit
e3a650a0ed
2 files changed
+17
-29
No files matched your search
@@ -1,16 +1,8 @@
|
||||
[tox]
|
||||
envlist = py3{6,7,8},black,pylama
|
||||
#envlist = py3{6,7,8},black,pylama,sphinx
|
||||
envlist = py3{6,7,8},pylama
|
||||
skip_missing_interpreters = true
|
||||
|
||||
[travis]
|
||||
python =
|
||||
3.6: py36,black,pylama
|
||||
|
||||
[travis:env]
|
||||
TRAVIS_BUILD_STAGE_NAME =
|
||||
Lint: black,pylama
|
||||
Test: py3{6,7,8}
|
||||
|
||||
[testenv]
|
||||
deps =
|
||||
-rrequirements.txt
|
||||
@@ -21,17 +13,16 @@ commands =
|
||||
py.test --cov=napalm_s350 --cov-report term-missing -vs {posargs}
|
||||
|
||||
[testenv:black]
|
||||
deps = black==18.9b0
|
||||
deps =
|
||||
-rrequirements-dev.txt
|
||||
|
||||
basepython = python3.6
|
||||
commands =
|
||||
black --check .
|
||||
black --check --target-version py36 --line-length 100 --color --diff .
|
||||
|
||||
[testenv:pylama]
|
||||
deps =
|
||||
-rrequirements-dev.txt
|
||||
|
||||
basepython = python3.6
|
||||
commands =
|
||||
pylama .
|
||||
|
||||
@@ -39,7 +30,6 @@ commands =
|
||||
deps =
|
||||
-rdocs/requirements.txt
|
||||
|
||||
basepython = python3.6
|
||||
|
||||
commands =
|
||||
make doctest
|
||||
|
||||
Reference in new issue
Block a user