Skip to content

Commit

Permalink
Identifier in whitelist
Browse files Browse the repository at this point in the history
  • Loading branch information
blablatdinov committed Nov 4, 2024
1 parent 17f758b commit 2fd967b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyeo/features/no_er_suffix.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def __init__(self, options) -> None:
self.problems: list[tuple[int, int, str]] = []
self._whitelist = {
'User',
'Identifier',
} | set(self._options.available_er_names)

def visit_ClassDef(self, node: ast.ClassDef) -> None: # noqa: N802, WPS231, C901
Expand Down

0 comments on commit 2fd967b

Please sign in to comment.