Skip to content

Commit

Permalink
ci: fix pylint config
Browse files Browse the repository at this point in the history
  • Loading branch information
lars-reimann committed Mar 13, 2023
1 parent d0f2446 commit 8c44bd0
Showing 1 changed file with 31 additions and 32 deletions.
63 changes: 31 additions & 32 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,35 +45,34 @@ disallow_incomplete_defs = true
disallow_untyped_defs = true
ignore_missing_imports = true

[tool.pylint.messages_control]
disable = [
# Default
"bad-inline-option",
"deprecated-pragma",
"file-ignored",
"locally-disabled",
"raw-checker-failed",
"suppressed-message",
"useless-suppression",
"use-symbolic-message-instead",
# Disabled in pylint repo
"attribute-defined-outside-init",
"fixme",
"invalid-name",
"missing-docstring",
"protected-access",
"too-few-public-methods",
# Handled by black
"format",
# Handled by isort
"wrong-import-order",
# False positives
"import-error",
# Unwanted
"design",
"duplicate-code",
"metrics",
"logging-fstring-interpolation",
"too-many-nested-blocks",
"useless-return"
]
[tool.pylint."MESSAGES CONTROL"]
disable = """
bad-inline-option,
deprecated-pragma,
file-ignored,
locally-disabled,
raw-checker-failed,
suppressed-message,
useless-suppression,
use-symbolic-message-instead,
attribute-defined-outside-init,
fixme,
invalid-name,
missing-docstring,
protected-access,
too-few-public-methods,
format,
wrong-import-order,
import-error,
design,
duplicate-code,
metrics,
logging-fstring-interpolation,
too-many-nested-blocks,
useless-return
"""

0 comments on commit 8c44bd0

Please sign in to comment.