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 1ae31c4
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 33 deletions.
41 changes: 41 additions & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
[MESSAGES CONTROL]

# Disable the message, report, category or checker with the given id(s). You
# can either give multiple identifiers separated by comma (,) or put this
# option multiple times (only on the command line, not in the configuration
# file where it should appear only once). You can also use "--disable=all" to
# disable everything first and then re-enable specific checks. For example, if
# you want to run only the similarities checker, you can use "--disable=all
# --enable=similarities". If you want to run only the classes checker, but have
# no Warning level messages displayed, use "--disable=all --enable=classes
# --disable=W".
disable=
# Default generated
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
33 changes: 0 additions & 33 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,36 +44,3 @@ build-backend = "poetry.core.masonry.api"
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"
]

0 comments on commit 1ae31c4

Please sign in to comment.