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',
 )
