guru/dev-python/parsel/files/parsel-1.6.0-pytest-runner.patch
Aisha Tammy 346c02dc93
dev-python/parsel: extract data from XML/HTML documents
dependency for dev-python/scrapy

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
2021-11-15 15:28:00 +00:00

31 lines
912 B
Diff

diff --git a/pytest.ini b/pytest.ini
index 3e34de8..b9f5050 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -1,11 +1,2 @@
[pytest]
-addopts = --assert=plain --doctest-modules --ignore=setup.py
-flake8-ignore =
- parsel/csstranslator.py E501
- parsel/selector.py E501
- parsel/utils.py E226 E501
- parsel/xpathfuncs.py E501
- tests/test_selector.py E501
- tests/test_selector_csstranslator.py E501
- tests/test_utils.py E501
- tests/test_xpathfuncs.py E501
+addopts = --assert=plain --ignore=setup.py
diff --git a/setup.py b/setup.py
index d14ad0e..dc89534 100644
--- a/setup.py
+++ b/setup.py
@@ -76,7 +76,7 @@ setup(
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
- setup_requires=['pytest-runner',],
+ setup_requires=[],
tests_require=['pytest',],
test_suite='tests',
)