-
-
Notifications
You must be signed in to change notification settings - Fork 31k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
21e80f4
commit 3b9d10b
Showing
13 changed files
with
83 additions
and
33 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Config file for running mypy on libregrtest. | ||
# | ||
# Note: mypy can't be run on libregrtest from the CPython repo root. | ||
# If you try to do so, mypy will complain | ||
# about the entire `Lib/` directory "shadowing the stdlib". | ||
# Instead, `cd` into `Lib/test`, then run `mypy --config-file libregrtest/mypy.ini`. | ||
|
||
[mypy] | ||
packages = libregrtest | ||
python_version = 3.11 | ||
platform = linux | ||
pretty = True | ||
|
||
# Enable most stricter settings | ||
enable_error_code = ignore-without-code | ||
strict = True | ||
|
||
# Various stricter settings that we can't yet enable | ||
# Try to enable these in the following order: | ||
strict_optional = False | ||
disallow_any_generics = False | ||
disallow_incomplete_defs = False | ||
disallow_untyped_calls = False | ||
disallow_untyped_defs = False | ||
check_untyped_defs = False | ||
warn_return_any = False | ||
|
||
disable_error_code = return | ||
|
||
# Various internal modules that typeshed deliberately doesn't have stubs for: | ||
[mypy-_abc.*] | ||
ignore_missing_imports = True | ||
|
||
[mypy-_opcode.*] | ||
ignore_missing_imports = True | ||
|
||
[mypy-_overlapped.*] | ||
ignore_missing_imports = True | ||
|
||
[mypy-_testcapi.*] | ||
ignore_missing_imports = True | ||
|
||
[mypy-_testinternalcapi.*] | ||
ignore_missing_imports = True | ||
|
||
[mypy-test.*] | ||
ignore_missing_imports = True |
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