Skip to content

Commit

Permalink
List every disabled message on a separate line in .pylintrc (#37)
Browse files Browse the repository at this point in the history
This makes tracking changes (diffs) easier. (Should be kept in
alphabetic order. Should be reviewed from time to time.)

Also, drop disables that are unnecessary.
  • Loading branch information
akosthekiss committed Nov 4, 2023
1 parent 667c8c6 commit ceafa6a
Showing 1 changed file with 20 additions and 11 deletions.
31 changes: 20 additions & 11 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,26 @@ ignore=parser
# no Warning level messages displayed, use"--disable=all --enable=classes
# --disable=W"
disable=
useless-option-value,
line-too-long, fixme, missing-docstring, invalid-name, no-self-use, unused-argument,
wildcard-import, unused-wildcard-import, ungrouped-imports,
too-many-arguments, too-many-locals,
too-many-statements, too-many-return-statements, too-many-branches,
too-many-instance-attributes, too-few-public-methods,
redefined-builtin, broad-except, protected-access,
useless-object-inheritance, unnecessary-pass, duplicate-code,
attribute-defined-outside-init, import-outside-toplevel, abstract-method,
consider-using-with, unused-private-member, deprecated-module,
unspecified-encoding
abstract-method,
attribute-defined-outside-init,
import-outside-toplevel,
invalid-name,
line-too-long,
missing-docstring,
no-self-use, # disables warning in older pylint
protected-access,
redefined-builtin,
too-few-public-methods,
too-many-arguments,
too-many-branches,
too-many-locals,
too-many-return-statements,
too-many-statements,
unnecessary-pass,
unspecified-encoding,
unused-argument,
useless-object-inheritance,
useless-option-value, # disables warning in recent pylint that does not check for no-self-use anymore

[REPORTS]

Expand Down

0 comments on commit ceafa6a

Please sign in to comment.