-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement new check, N819: TypedDict variable naming
- Loading branch information
Daniel Patrick
committed
Jan 20, 2022
1 parent
9d199f1
commit 884f3c4
Showing
5 changed files
with
38 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# python_version >= '3.6' | ||
#: Okay | ||
class MyDict(TypedDict): | ||
snake_case: str | ||
#: N819 | ||
class MyDict(TypedDict): | ||
mixedCase: str | ||
#: N819 | ||
class MyDict(TypedDict): | ||
snake_case: str | ||
class MyOtherDict(MyDict): | ||
more_Mixed_Case: str | ||
#: Okay(--ignore-names=mixedCase) | ||
class MyDict(TypedDict): | ||
mixedCase: str | ||
#: Okay(--ignore-names=*Case) | ||
class MyDict(TypedDict): | ||
mixedCase: str |