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

Added ability to set block_size='auto' and fix missing parameters in docstrings #392

Merged
merged 4 commits into from
Sep 14, 2023

Conversation

astrofrog
Copy link
Member

This enables the numpydoc pre-commit hook and fixes issues found as a result.

I've also added the ability to specify block_size='auto' so that users can opt in to blocked reprojection without having to specify an actual block size or setting parallel=True.

@codecov
Copy link

codecov bot commented Sep 14, 2023

Codecov Report

Merging #392 (f7fdf29) into main (7f3fe0e) will increase coverage by 0.11%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #392      +/-   ##
==========================================
+ Coverage   93.49%   93.60%   +0.11%     
==========================================
  Files          25       25              
  Lines         891      891              
==========================================
+ Hits          833      834       +1     
+ Misses         58       57       -1     
Files Changed Coverage Δ
reproject/adaptive/high_level.py 100.00% <ø> (ø)
reproject/healpix/high_level.py 93.75% <ø> (ø)
reproject/interpolation/high_level.py 100.00% <ø> (ø)
reproject/mosaicking/background.py 94.87% <ø> (ø)
reproject/mosaicking/coadd.py 91.75% <ø> (ø)
reproject/mosaicking/subset_array.py 97.72% <ø> (ø)
reproject/mosaicking/wcs_helpers.py 100.00% <ø> (ø)
reproject/spherical_intersect/high_level.py 100.00% <ø> (ø)
reproject/common.py 93.26% <100.00%> (+0.96%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@astrofrog astrofrog merged commit eabeb23 into astropy:main Sep 14, 2023
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant