Work around tox-dev/tox#2479 (editable installs in tox broken by setuptools
v64) and tox-dev/tox#2480 (failure to use `toxinidir` in `deps`).
Use -e consistently in the linting steps instead, because they are
defined with skip_install=True so it seems a good idea to use it. These
steps don't seem affect by the setuptools issue.
passenv = PG* PSYCOPG_TEST_* PYTEST_ADDOPTS PSYCOPG_IMPL PIP_CONSTRAINT
extras = test
deps =
- -e {toxinidir}/../psycopg_pool
+ ../psycopg_pool
[testenv:dns]
deps =
python -bb -m pytest --lf --lfnf=none --no-collect-ok --randomly-seed=last {posargs}
passenv = PG* PSYCOPG_TEST_* PYTEST_ADDOPTS PSYCOPG_IMPL PIP_CONSTRAINT
deps =
- -e {toxinidir}/../psycopg[test]
- -e {toxinidir}/../psycopg_pool
+ ../psycopg[test]
+ ../psycopg_pool
[flake8]
max-line-length = 88
[testenv:docs]
commands = sphinx-build -W -T -b html docs docs/_build/html
deps =
- ./psycopg[docs]
- ./psycopg_pool
+ -e ./psycopg[docs]
+ -e ./psycopg_pool
[testenv:codespell]
commands = codespell