This repository was archived by the owner on Jul 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* setup: Update mypy to 0.930 * fix: Modernize common.etcd coding style and fix type errors - While pyright (VSCode) supports ParamSpec and Concatenate, mypy 0.930 does not support Concatenate yet. Temporarily comment related lines with "type: ignore". - Introduce a wrapper function to ensure immutable usage of ChainMap which is defined as mutable in typeshed, with minimal runtime overheads. * test: Let test_utils type-checked and workaround python/mypy#11850 Backported-From: main (22.03) Backported-To: 21.09
- Loading branch information
Showing
5 changed files
with
167 additions
and
94 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
Update mypy to 0.930 and fix newly discovered type errors |
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.