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

Port typing annotations and improve error messages #59

Merged
merged 12 commits into from
Apr 10, 2023

Conversation

djhoese
Copy link
Member

@djhoese djhoese commented Apr 10, 2023

This PR ports the many changes to dask related to type annotations and improved error messages. It also adds mypy to the pre-commit config and moves most configuration (including most of setup.py) into pyproject.toml. There are other dask PRs related to config changes that will be migrated after this is merged.

@djhoese djhoese added the enhancement New feature or request label Apr 10, 2023
@djhoese djhoese changed the title Port typing annotations and other cleanups from dask Port typing annotations and improve error messages Apr 10, 2023
@codecov
Copy link

codecov bot commented Apr 10, 2023

Codecov Report

Merging #59 (525f908) into main (b05d5c1) will increase coverage by 0.37%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #59      +/-   ##
==========================================
+ Coverage   97.73%   98.11%   +0.37%     
==========================================
  Files           6        6              
  Lines         662      689      +27     
==========================================
+ Hits          647      676      +29     
+ Misses         15       13       -2     
Flag Coverage Δ
unittests 98.11% <100.00%> (+0.37%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
donfig/__init__.py 100.00% <100.00%> (ø)
donfig/_lock.py 96.55% <100.00%> (ø)
donfig/config_obj.py 95.06% <100.00%> (+1.01%) ⬆️
donfig/tests/test_config.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@djhoese djhoese merged commit 0089d00 into pytroll:main Apr 10, 2023
@djhoese djhoese deleted the typing-overhaul branch April 10, 2023 15:42
@djhoese
Copy link
Member Author

djhoese commented Apr 10, 2023

Merging without review so I can continue on with porting other dask PRs for features and fixes.

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

Successfully merging this pull request may close these issues.

2 participants