Skip to content

Commit

Permalink
Merge pull request #429 from astrofrog/fix-pre-commit
Browse files Browse the repository at this point in the history
Fix pre-commit errors
  • Loading branch information
astrofrog authored Feb 24, 2024
2 parents 6388ddd + e295790 commit d77f979
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ updates:
directory: "/"
schedule:
interval: "monthly"
groups:
actions:
patterns:
- "*"
5 changes: 5 additions & 0 deletions .github/workflows/ci_workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ on:
pull_request:
workflow_dispatch:

groups:
actions:
patterns:
- "*"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand Down
4 changes: 1 addition & 3 deletions reproject/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,7 @@ def reproject_single_block(a, array_or_path, block_info=None):
else:
rechunk_kwargs = {}
array_out_dask = da.empty(shape_out)
array_out_dask = array_out_dask.rechunk(
block_size_limit=8 * 1024**2, **rechunk_kwargs
)
array_out_dask = array_out_dask.rechunk(block_size_limit=8 * 1024**2, **rechunk_kwargs)

result = da.map_blocks(
reproject_single_block,
Expand Down

0 comments on commit d77f979

Please sign in to comment.