0
안녕하세요, 저는 기본적으로 독점 프로젝트를 사용하고 있습니다. 내가 독극물을 실행할 때마다경고를 표시하는 톡스
여기에 모든 것이 기본적으로 linting되고, 범위를 실행지고, 내 tox.ini 파일
[tox]
envlist =
py27,
lint,
coverage
skipsdist = True
[testenv:py27]
deps = -rrequirements.txt
commands = python -m unittest discover -s ./tests
[testenv:coverage]
commands =
coverage run --source=tests -m unittest discover -s tests/
coverage html
coverage report
[testenv:lint]
commands = pylint ./foo
입니다.
하지만 Tox는 모든 것에 경고를 표시합니다.
WARNING:test command found but not installed in testenv
Maybe you forgot to specify a dependency? See also the whitelist_externals envconfig setting.
모든 성공하지만 여전히 사람이 내가 잘못하고있는 중이 야 무엇을 말해 줄 수 경고 및 오류
표시됩니다.내 requirements.txt 파일
requests==2.18.4
JsonForm==0.0.2
jsonify==0.5
jsonschema==2.6.0
JsonSir==0.0.2
python-dateutil==1.5
DateTime==4.2
urllib3==1.22
contextlib2==0.5.5
mock==2.0.0
patch==1.16
당신이'requirements.txt의 내용을 표시 할 수 '? – alecxe
@alecxe 내 질문을 편집했습니다 :) – primer
요구 사항에 pylint 및 coverage를 구성 할 경우 동일한 오류가 발생합니까? – alecxe