diff --git a/pytest.ini b/pytest.ini index 9aeecb5..74cc64a 100644 --- a/pytest.ini +++ b/pytest.ini @@ -2,10 +2,7 @@ addopts = -rfEsxX -p no:logging - --mccabe --verbose - --pep8 - --flake8 --ignore=setup.py --ignore=travis_pypi_setup.py --cov=src/related/ @@ -13,18 +10,5 @@ addopts = --cov-report=html --cov-fail-under=98 -exclude_lines = - pragma: no cover - def __repr__ - if self.debug: - if settings.DEBUG - raise AssertionError - raise NotImplementedError - if 0: - if __name__ == .__main__.: - -python_paths = src/ -test_paths = tests -mccabe-complexity=7 +pythonpath = src/ norecursedirs=example docs build env .* -pep8maxlinelength = 80 diff --git a/tox.ini b/tox.ini index e0b1db1..a53be8a 100644 --- a/tox.ini +++ b/tox.ini @@ -1,15 +1,10 @@ [tox] envlist = - py27 - py35 py36 py37 - flake8 - -[testenv:flake8] -basepython = python -deps = flake8 -commands = flake8 related + py38 + py39 + py310 [testenv] setenv =