diff --git a/pyproject.toml b/pyproject.toml index 583e2f3ba..260a96b0d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -203,6 +203,7 @@ lint.unfixable = [ "ERA001", ] lint.external = [ "NOD" ] +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.\ """