-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TYP: update mypy and small pyi fixes from ruff (#54085)
* TYP: update mypy and small pyi fixes from ruff * fix errors * use pyright ignore comment (would prefer 'as TypeGuard') * disable PLC0414 * Revert "disable PLC0414" This reverts commit c0f7b2b.
- Loading branch information
1 parent
7d0b0e2
commit 9ff3322
Showing
10 changed files
with
33 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ repos: | |
hooks: | ||
- id: black | ||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
rev: v0.0.275 | ||
rev: v0.0.277 | ||
hooks: | ||
- id: ruff | ||
args: [--exit-non-zero-on-fix] | ||
|
@@ -130,7 +130,7 @@ repos: | |
types: [python] | ||
stages: [manual] | ||
additional_dependencies: &pyright_dependencies | ||
- [email protected].292 | ||
- [email protected].296 | ||
- id: pyright_reportGeneralTypeIssues | ||
# note: assumes python env is setup and activated | ||
name: pyright reportGeneralTypeIssues | ||
|
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
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 |
---|---|---|
|
@@ -53,7 +53,7 @@ moto | |
flask | ||
asv>=0.5.1 | ||
flake8==6.0.0 | ||
mypy==1.2 | ||
mypy==1.4.1 | ||
tokenize-rt | ||
pre-commit>=2.15.0 | ||
gitpython | ||
|
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