| 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. |