Index: abp/filters/parser.py
===================================================================
--- a/abp/filters/parser.py
+++ b/abp/filters/parser.py
@@ -49,7 +49,7 @@
 
 
 # Constants related to filters (see https://adblockplus.org/filters).
-class SELECTOR_TYPE:  # flake8: noqa (this is a namespace of constants).
+class SELECTOR_TYPE:  # noqa: N801
     """Selector type constants."""
 
     URL_PATTERN = 'url-pattern'  # Normal URL patterns.
@@ -59,7 +59,7 @@
     ABP_SIMPLE = 'abp-simple'    # Simplified element hiding syntax.
 
 
-class FILTER_ACTION:  # flake8: noqa (this is a namespace of constants).
+class FILTER_ACTION:  # noqa: N801
     """Filter action constants."""
 
     BLOCK = 'block'              # Block the request.
@@ -68,7 +68,7 @@
     SHOW = 'show'                # Show selected element(s) (whitelist).
 
 
-class FILTER_OPTION:  # flake8: noqa (this is a namespace of constants).
+class FILTER_OPTION:  # noqa: N801
     """Filter option constants."""
 
     # Resource types.
Index: tox.ini
===================================================================
--- a/tox.ini
+++ b/tox.ini
@@ -1,9 +1,6 @@
 [tox]
 envlist = py27,py35,py36,pypy,flake8
 
-[flake8]
-ignore = D107, N801, W503
-
 [testenv]
 deps =
     pytest-cov
@@ -22,11 +19,6 @@
 basepython = python3
 skip_install = true
 deps =
-    flake8
-    flake8-docstrings
-    flake8-commas
-    pep8-naming
     hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake8-eyeo
 commands =
-    flake8 abp
-    flake8 --extend-ignore=D1 tests setup.py
+    flake8
