This repository has been archived by the owner on Oct 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make mypy_plugin compatible with mypy>=0.730
* This fixes issue 21 * New type_analyze_hook to fix types before mypy's semantic analyzer runs * _get_and_delete_cases defers if it encounters PlaceholderNodes
- Loading branch information
Showing
4 changed files
with
133 additions
and
31 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 |
---|---|---|
@@ -1,2 +1,7 @@ | ||
from .case import Case | ||
from .decorator import adt | ||
from typing import TYPE_CHECKING | ||
|
||
from .case import Case | ||
from .decorator import adt | ||
|
||
if TYPE_CHECKING: | ||
from .case import CaseConstructor |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
yapf==0.27.0 | ||
mypy==0.711 | ||
mypy>=0.711 | ||
coverage==4.5.3 | ||
hypothesis==4.24.5 | ||
coveralls==1.8.1 |