Skip to content

Commit 969b00d

Browse files
Merge pull request #3585 from VWS-Python/ban-operator-attrgetter
Ban operator.attrgetter
2 parents dd617f5 + 744170c commit 969b00d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎pyproject.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ lint.unfixable = [
203203
"ERA001",
204204
]
205205
lint.external = [ "NOD" ]
206+
lint.flake8-tidy-imports.banned-api."operator.attrgetter".msg = "operator.attrgetter is banned: use a lambda instead."
206207
lint.flake8-tidy-imports.banned-api."typing.cast".msg = """\
207208
typing.cast is banned: use explicit type narrowing or a typed variable instead.\
208209
"""

0 commit comments

Comments
 (0)