-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mutualize test code base + add pyright hint
pyright ignore is mandatory because the type checker has no idea about the impact of validate_metadata/validate_tag. This might be fixed by a shared logic and a TypeGuard but is not available until Python 3.10 ; other solution would be to transfer metadata to a way more typed container after validation.
- Loading branch information
Showing
2 changed files
with
24 additions
and
52 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