File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -164,6 +164,7 @@ lint.per-file-ignores."tests/test_*.py" = [
164164lint.unfixable = [
165165 " ERA001" ,
166166]
167+ lint.flake8-tidy-imports.banned-api."typing.cast".msg = " typing.cast is banned: use explicit type narrowing or a typed variable instead."
167168lint.pydocstyle.convention = " google"
168169
169170[tool .pylint ]
@@ -205,6 +206,17 @@ MASTER.unsafe-load-any-extension = false
205206MASTER.ignore = [
206207 " _setuptools_scm_version.py" ,
207208]
209+ DEPRECATED_BUILTINS.bad-functions = [
210+ # Use Pylint until Ruff can ban bare builtin calls, or until custom rules
211+ # make this removable:
212+ # https://github.com/astral-sh/ruff/issues/10079
213+ # https://github.com/astral-sh/ruff/issues/970
214+ " filter" ,
215+ " getattr" ,
216+ " hasattr" ,
217+ " map" ,
218+ " setattr" ,
219+ ]
208220# Enable the message, report, category or checker with the given id(s). You can
209221# either give multiple identifier separated by comma (,) or put this option
210222# multiple time (only on the command line, not in the configuration file where
You can’t perform that action at this time.
0 commit comments