Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ lint.per-file-ignores."tests/*.py" = [
lint.unfixable = [
"ERA001",
]
lint.flake8-tidy-imports.banned-api."typing.cast".msg = "typing.cast is banned: use explicit type narrowing or a typed variable instead."
lint.pydocstyle.convention = "google"

[tool.pylint]
Expand Down Expand Up @@ -199,6 +200,17 @@ MASTER.load-plugins = [
# Allow loading of arbitrary C extensions. Extensions are imported into the
# active Python interpreter and may run arbitrary code.
MASTER.unsafe-load-any-extension = false
DEPRECATED_BUILTINS.bad-functions = [
# Use Pylint until Ruff can ban bare builtin calls, or until custom rules
# make this removable:
# https://github.com/astral-sh/ruff/issues/10079
# https://github.com/astral-sh/ruff/issues/970
"filter",
"getattr",
"hasattr",
"map",
"setattr",
]
# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
# multiple time (only on the command line, not in the configuration file where
Expand Down
Loading