From db4c5865863b9c4ae54c6b117e1c811234b99352 Mon Sep 17 00:00:00 2001 From: Adrien Barbaresi Date: Mon, 15 Nov 2021 15:03:27 +0100 Subject: [PATCH] tests: remove tox setting --- MANIFEST.in | 8 +++++++- pytest.ini | 2 ++ tox.ini | 18 ------------------ 3 files changed, 9 insertions(+), 19 deletions(-) create mode 100644 pytest.ini delete mode 100644 tox.ini diff --git a/MANIFEST.in b/MANIFEST.in index 45052fe1..18ecc514 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,9 @@ -include CONTRIBUTING.md HISTORY.md README.rst LICENSE tox.ini +include CONTRIBUTING.md HISTORY.md README.rst LICENSE pytest.ini include tests/unit_tests.py graft tests/cache/ + +recursive-exclude * __pycache__ +recursive-exclude * *.py[co] + +recursive-include conf.py Makefile make.bat *.jpg *.png *.gif +recursive-include docs *.rst \ No newline at end of file diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 00000000..1d964876 --- /dev/null +++ b/pytest.ini @@ -0,0 +1,2 @@ +[pytest] +python_files = tests/*test*.py diff --git a/tox.ini b/tox.ini deleted file mode 100644 index 660b14df..00000000 --- a/tox.ini +++ /dev/null @@ -1,18 +0,0 @@ -[tox] -envlist = - py35, py36, py37, py38, py39, pypy3 -skip_missing_interpreters = - true - - -[testenv] -commands=py.test --cov trafilatura {posargs} -# py.test --cov-report term-missing --cov=myproj tests/ -deps= - pytest - pytest-cov - - -[pytest] -python_files = tests/*test*.py -norecursedirs = .tox