Skip to content

Precommit formatting #1321

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

Closed
wants to merge 19 commits into from
Closed

Conversation

d-v-b
Copy link
Contributor

@d-v-b d-v-b commented Jan 16, 2023

  • adds ruff and black to precommit
  • removes flake8 from precommit
  • moves codespell configuration to pyproject.toml
  • code changes required to appease the linters
  • Add unit tests and/or doctests in docstrings (N/A)
  • Add docstrings and API docs for any new/modified user-facing classes and functions (N/A)
  • New/modified features documented in docs/tutorial.rst (N/A)
  • Changes documented in docs/release.rst
  • GitHub Actions have all passed
  • Test coverage is 100% (Codecov passes)

@d-v-b
Copy link
Contributor Author

d-v-b commented Jan 16, 2023

commit history looks gnarly -- sorry about that. I accidentally put some commits from a feature branch into my main branch, then reverted at 99b04b6

@d-v-b d-v-b mentioned this pull request Jan 16, 2023
6 tasks
@codecov
Copy link

codecov bot commented Jan 16, 2023

Codecov Report

Merging #1321 (2ff320d) into main (385b5d3) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              main     #1321    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files           35        35            
  Lines        14388     14126   -262     
==========================================
- Hits         14388     14126   -262     
Impacted Files Coverage Δ
zarr/tests/test_core.py 100.00% <ø> (ø)
zarr/tests/test_storage.py 100.00% <ø> (ø)
zarr/__init__.py 100.00% <100.00%> (ø)
zarr/_storage/absstore.py 100.00% <100.00%> (ø)
zarr/_storage/store.py 100.00% <100.00%> (ø)
zarr/_storage/v3.py 100.00% <100.00%> (ø)
zarr/attrs.py 100.00% <100.00%> (ø)
zarr/convenience.py 100.00% <100.00%> (ø)
zarr/core.py 100.00% <100.00%> (ø)
zarr/creation.py 100.00% <100.00%> (ø)
... and 26 more

@@ -5,7 +5,6 @@ on:

jobs:
triage:
if: ${{ github.event.pull_request.user.login != 'dependabot[bot]' }} && ${{ github.event.pull_request.user.login != 'pre-commit-ci[bot]' }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did this get dropped?

@@ -64,7 +64,7 @@ jobs:
with:
name: releases
path: dist
- uses: pypa/[email protected]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I think this is reverting things that have hit the mainline.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, and I'm not sure why this is happening -- possibly we've reached the limits of my experience with git. When I run git pull upstream main, git claims everything is up to date, but clearly there's lots of recent commits on mainline that are missing from this PR. Any advice?

@d-v-b d-v-b mentioned this pull request Jan 18, 2023
6 tasks
@d-v-b
Copy link
Contributor Author

d-v-b commented Jan 18, 2023

closing in favor of #1323

@d-v-b d-v-b closed this Jan 18, 2023
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.

2 participants