Skip to content

Commit 426d748

Browse files
committed
resolve static analysis and 'usedevelop' tests
1 parent d72c944 commit 426d748

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

requirements-develop.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
requests==2.7.0
33
blessed==1.9.5
44
docopt==0.6.2
5-
prospector==0.10.2[with_frosted,with_pyroma]
5+
prospector[with_frosted,with_pyroma]==0.10.2
66
restructuredtext-lint==0.12.2
77

88
# transient dependencies

tox.ini

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ envlist = sa,
1010
[testenv]
1111
# for any python, run simple pytest (only)
1212
deps = pytest
13-
1413
setenv = PYTHONIOENCODING=utf-8
1514

1615
commands = {envbindir}/py.test \
@@ -19,6 +18,11 @@ commands = {envbindir}/py.test \
1918

2019
[testenv:sa]
2120
deps = --requirement=requirements-develop.txt
21+
# anytime we use requirements-develop.txt, we must also
22+
# demand that we use 'python setup.py develop', to satisfy
23+
# an otherwise circular dependency on downstream 'blessed'
24+
# library.
25+
usedevelop = true
2226

2327
# - prospector is configured using .prospector.yaml, and wraps several
2428
# static analysis/linting and style-checker tools.
@@ -49,6 +53,7 @@ commands = {envbindir}/py.test \
4953
deps = pytest
5054
pytest-cov
5155
--requirement=requirements-develop.txt
56+
usedevelop = true
5257

5358
commands = {envbindir}/py.test -v \
5459
-x --strict \

0 commit comments

Comments
 (0)