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

Enable ruff/flake8-implicit-str-concat rules (ISC) and fix issues #1837

Closed

Conversation

DimitriPapadopoulos
Copy link
Contributor

@DimitriPapadopoulos DimitriPapadopoulos commented May 5, 2024

Note: #1868 is the same applied to the v3 branch

    ISC001 Implicitly concatenated string literals on one line
    ISC003 Explicitly concatenated string should be implicitly concatenated

This rule is currently disabled because it conflicts with the formatter:
astral-sh/ruff#8272

TODO:

  • Add unit tests and/or doctests in docstrings
  • Add docstrings and API docs for any new/modified user-facing classes and functions
  • New/modified features documented in docs/tutorial.rst
  • Changes documented in docs/release.rst
  • GitHub Actions have all passed
  • Test coverage is 100% (Codecov passes)

Copy link

codecov bot commented May 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.98%. Comparing base (cb4230d) to head (cc10491).
Report is 24 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##           main    #1837       +/-   ##
=========================================
+ Coverage      0   99.98%   +99.98%     
=========================================
  Files         0       38       +38     
  Lines         0    14667    +14667     
=========================================
+ Hits          0    14665    +14665     
- Misses        0        2        +2     
Files with missing lines Coverage Δ
zarr/_storage/store.py 100.00% <100.00%> (ø)
zarr/indexing.py 100.00% <100.00%> (ø)

... and 36 files with indirect coverage changes

@DimitriPapadopoulos DimitriPapadopoulos changed the title Apply ruff/flake8-implicit-str-concat rules Apply ruff/flake8-implicit-str-concat rules (ISC) May 5, 2024
@DimitriPapadopoulos DimitriPapadopoulos changed the title Apply ruff/flake8-implicit-str-concat rules (ISC) Enable ruff/flake8-implicit-str-concat rules (ISC) and fix issues May 12, 2024
@jhamman
Copy link
Member

jhamman commented Jun 1, 2024

@DimitriPapadopoulos - thanks for moving your focus over to the v3 branch. I'm going to close this in favor of the contributions you've already made there. 🙏

@jhamman jhamman closed this Jun 1, 2024
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