dotfiles/pylintrc.toml

19 lines
1015 B
TOML

# Linkable as $XDG_CONFIG_HOME/pylintrc (without the extension). Pylint
# ignores the category and loads the settings anyways.
[tool.pylint.format]
max-line-length = 79
[tool.pylint."messages control"]
disable = [
# Covered in flake8 according to https://pylint.rtfd.io/en/latest/faq.html#which-messages-should-i-disable-to-avoid-duplicates-if-i-use-other-popular-linters
"unnecessary-semicolon", "bad-indentation", "bare-except", # pycodestyle
"unnecessary-negation", "singleton-comparison", "line-too-long", # pycodestyle
"trailing-whitespace", "missing-final-newline", "trailing-newlines", # pycodestyle
"multiple-statements", "wrong-import-position", # pycodestyle
"undefined-variable", "unused-import", "unused-variable", # pyflakes
"too-many-branches", # mccabe
# other stuff
# Unfold "missing-docstring" (https://pylint.rtfd.io/en/latest/user_guide/messages/convention/missing-docstring.html)
"missing-module-docstring", "missing-class-docstring", "missing-function-docstring",
]