-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
repo: Clean up mypy type installations
If mypy has not been run before, --install-types will sometimes hit error: --install-types failed (no mypy cache directory) As we're now installing all of the dependencies by hand that we need and we've addressed the issue with the type-protobuf, we no longer need these and they just add additional overhead as they cause mypy to be run twice always Also upgrade mypy to 0.981 to include a fix for a numpy issue Change-Id: Icb8c20f6f196f12e75e9f02f179a5d3ee3a34748
- Loading branch information
1 parent
8404e98
commit a054f55
Showing
3 changed files
with
3 additions
and
4 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 |
---|---|---|
@@ -1,3 +1,2 @@ | ||
#!/bin/bash | ||
python3 -m pip install .[dev] | ||
mypy --install-types --non-interactive |
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