Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: abp/filters/parser.py

Issue 29977606: Issue 7196 - Delegate to centralized flake8 configuration (python-abp)
Patch Set: Created Jan. 10, 2019, 12:36 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tox.ini » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | tox.ini » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld