diff --git a/pyproject.toml b/pyproject.toml index 20932416..dbb9ec3d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -153,6 +153,7 @@ lint.external = [ # Vulture. "V", ] +lint.flake8-tidy-imports.banned-api."operator.attrgetter".msg = "operator.attrgetter is banned: use a lambda instead." lint.flake8-tidy-imports.banned-api."typing.cast".msg = """\ typing.cast is banned: use explicit type narrowing or a typed variable instead.\ """