Skip to content

Commit

Permalink
Update pylint config for pylint 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
seanh committed Oct 4, 2023
1 parent b6c20b4 commit 3e8806a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions bin/update_dev_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down
2 changes: 0 additions & 2 deletions tests/.pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3e8806a

Please sign in to comment.