diff --git a/.pylintrc b/.pylintrc index 163ae8f0..95d9c2aa 100644 --- a/.pylintrc +++ b/.pylintrc @@ -3,9 +3,7 @@ jobs=0 # Speed up PyLint by using one process per CPU core. load-plugins=pylint.extensions.bad_builtin, pylint.extensions.broad_try_clause, pylint.extensions.check_elif, - pylint.extensions.comparetozero, pylint.extensions.docparams, - pylint.extensions.emptystring, pylint.extensions.mccabe, pylint.extensions.overlapping_exceptions, pylint.extensions.redefined_variable_type, diff --git a/bin/update_dev_data.py b/bin/update_dev_data.py index 7e18980e..c4265f9e 100644 --- a/bin/update_dev_data.py +++ b/bin/update_dev_data.py @@ -43,6 +43,7 @@ def update_dev_data(): "example.net": Reason.MEDIA_VIDEO, "bad.example.com": Reason.MALICIOUS, } + # pylint:disable=used-before-assignment CustomRules(request.db).load_simple_rules(raw_rules) print(f"Loaded {len(raw_rules)} custom rules") diff --git a/tests/.pylintrc b/tests/.pylintrc index 16bb8d34..96361575 100644 --- a/tests/.pylintrc +++ b/tests/.pylintrc @@ -3,9 +3,7 @@ jobs=0 # Speed up PyLint by using one process per CPU core. load-plugins=pylint.extensions.bad_builtin, pylint.extensions.broad_try_clause, pylint.extensions.check_elif, - pylint.extensions.comparetozero, pylint.extensions.docparams, - pylint.extensions.emptystring, pylint.extensions.mccabe, pylint.extensions.overlapping_exceptions, pylint.extensions.redefined_variable_type,