-
Notifications
You must be signed in to change notification settings - Fork 252
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
set up mypy hook for incremental adoption
- Loading branch information
1 parent
0362ffb
commit d7423df
Showing
4 changed files
with
57 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
[mypy] | ||
follow_imports = silent | ||
|
||
# The following whitelist is used to allow for incremental adoption | ||
# of Mypy. Modules should be removed from this whitelist as and when | ||
# their respective type errors have been addressed. No new modules | ||
# should be added to this whitelist. | ||
# see https://github.com/python-poetry/poetry-core/pull/199. | ||
|
||
[mypy-poetry.core.factory.*] | ||
ignore_errors = True | ||
|
||
[mypy-poetry.core.masonry.*] | ||
ignore_errors = True | ||
|
||
[mypy-poetry.core.packages.*] | ||
ignore_errors = True | ||
|
||
[mypy-poetry.core.poetry.*] | ||
ignore_errors = True | ||
|
||
[mypy-poetry.core.pyproject.*] | ||
ignore_errors = True | ||
|
||
[mypy-poetry.core.semver.*] | ||
ignore_errors = True | ||
|
||
[mypy-poetry.core.spdx.*] | ||
ignore_errors = True | ||
|
||
[mypy-poetry.core.vcs.*] | ||
ignore_errors = True | ||
|
||
[mypy-poetry.core.version.*] | ||
ignore_errors = True | ||
|
||
# end of whitelist |
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
from pkgutil import extend_path | ||
from typing import List | ||
|
||
|
||
__path__ = extend_path(__path__, __name__) | ||
__path__: List[str] = extend_path(__path__, __name__) |
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