-
-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
appease mypy Version no-untyped-call (#864)
* appease mypy Version no-untyped-call Without the type hint we get: error: Call to untyped function "Version" in typed context [no-untyped-call] Note that our Version is derived from semantic_version, which doesn't have type hints. * mark class definition __init__ functions -> None. This prevents reviewdog from generating an no-untyped-call warning when a new instance of the class is created. This behavior is a time bomb. reviewdog flags the warning at the line the new instance was added, which is within the scope of the diffs, but the problem lies elsewhere, in the class definition. * fix mypy import-untyped error.
- Loading branch information
Showing
7 changed files
with
9 additions
and
8 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 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 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 |
---|---|---|
|
@@ -69,6 +69,7 @@ check = [ | |
"pygments", | ||
"packaging", | ||
"pylint", | ||
"types-requests", | ||
] | ||
docs = [ | ||
"sphinx>=7.0", | ||
|