-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Enable basic mypy typechecking
- Loading branch information
Showing
23 changed files
with
120 additions
and
66 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# https://mypy.readthedocs.io/en/stable/config_file.html#config-file-format | ||
|
||
[mypy] | ||
warn_return_any=True | ||
warn_unused_configs=True | ||
no_implicit_optional=True | ||
warn_redundant_casts=True | ||
warn_unused_ignores=True | ||
warn_unreachable=True | ||
|
||
# | ||
# ignore errors in testdata | ||
# | ||
|
||
[mypy-tests.integration.testdata.*] | ||
ignore_errors=True | ||
|
||
# | ||
# below are packages/modules that do not have stubs available | ||
# | ||
|
||
[mypy-pywintypes] | ||
ignore_missing_imports=True | ||
|
||
[mypy-botocore,botocore.*] | ||
ignore_missing_imports=True | ||
|
||
[mypy-docker,docker.*] | ||
ignore_missing_imports=True | ||
|
||
[mypy-aws_lambda_builders,aws_lambda_builders.*] | ||
ignore_missing_imports=True | ||
|
||
[mypy-cookiecutter,cookiecutter.*] | ||
ignore_missing_imports=True | ||
|
||
[mypy-serverlessrepo,serverlessrepo.*] | ||
ignore_missing_imports=True | ||
|
||
[mypy-tomlkit] | ||
ignore_missing_imports=True | ||
|
||
[mypy-samtranslator,samtranslator.*] | ||
ignore_missing_imports=True | ||
|
||
[mypy-jmespath] | ||
ignore_missing_imports=True | ||
|
||
[mypy-chevron] | ||
ignore_missing_imports=True | ||
|
||
[mypy-parameterized] | ||
ignore_missing_imports=True | ||
|
||
[mypy-setuptools] | ||
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
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
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
Oops, something went wrong.
AFAIK
builtins
are... built in. I don't think we need the explicit import.