summaryrefslogtreecommitdiff
path: root/dev-python/parsel/files/parsel-1.6.0-pytest-runner.patch
blob: 33b53366508c5e9919286ffab59d5570bd22d577 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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',
 )