Skip to content
Snippets Groups Projects
Commit 27b8ebd0 authored by ulif's avatar ulif
Browse files

Move pytest config from `setup.cfg` to `tox.ini`.

Use of ``[pytest]`` section in `setup.cfg` is deprecated while
the new section name ``[tool:pytest]`` is not recognized by older
`pytest` versions.

To stay compatible with older `pytest` and avoid warnings with
`pytest` 3.0+, we move the whole config to `tox.ini`, where still
the old section name is valid.
parent 16ecb783
No related branches found
No related tags found
No related merge requests found
......@@ -3,9 +3,5 @@ distribute = register sdist upload
dev = develop easy_install diceware[tests]
docs = develop easy_install diceware[docs]
[pytest]
addopts = --doctest-modules --doctest-glob='*.rst'
diceware tests docs README.rst
[bdist_wheel]
universal = 1
[pytest]
addopts = --doctest-modules --doctest-glob='*.rst'
diceware tests docs README.rst
[tox]
envlist = flake8, pypy, py26, py27, py33, py34, py35, coverage
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment