Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Activate strict mode and fix type hints #220

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Activate strict mode and fix type hints #220

wants to merge 4 commits into from

Conversation

benoit74
Copy link
Collaborator

No description provided.

- move constants and validation logic from creator.py and constants.py
  to zim/metadata.py
- add way more typing around metadata manipulation
- add new class for standard metadata, and alias for value
  differentiating raw and clean metadata
- make config_metadata much stricter around standard metadata
- add config_any_metadata for those need to add custom ones or wanting
  to tinker with standard ones
@benoit74 benoit74 self-assigned this Nov 18, 2024
Copy link

codecov bot commented Nov 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (e89899c) to head (29dd2e7).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #220   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           38        38           
  Lines         2224      2280   +56     
  Branches       426       429    +3     
=========================================
+ Hits          2224      2280   +56     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant