Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace use of deprecated 'setup.py test' with pytest #26

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ install:
- pip3 install --upgrade -e.[test]

script:
- python3 setup.py test
- pytest
11 changes: 1 addition & 10 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,9 @@ project_urls =

[options]
packages = find:
setup_requires = pytest-runner
install_requires =
setuptools >= 39.2.0
webencodings >= 0.4
tests_require =
pytest-runner
pytest-cov
pytest-flake8
pytest-isort
python_requires = >= 3.5

[options.package_data]
Expand All @@ -55,7 +49,7 @@ doc =
sphinx
sphinx_rtd_theme
test =
pytest-runner
pytest
pytest-cov
pytest-flake8
pytest-isort
Expand All @@ -67,9 +61,6 @@ python-tag = py3
source-dir = docs
build-dir = docs/_build

[aliases]
test = pytest

[tool:pytest]
addopts = --flake8 --isort
norecursedirs = build dist .cache .eggs .git
Expand Down