Skip to content

Commit da675fe

Browse files
Enforce ruff/pycodestyle warnings (W) (#2369)
* Apply ruff/pycodestyle rule W291 W291 Trailing whitespace * Enforce ruff/pycodestyle warnings (W) It looks like `ruff format` does not catch all trailing spaces. --------- Co-authored-by: Joe Hamman <joe@earthmover.io>
1 parent 1197bbe commit da675fe

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ extend-select = [
223223
"TCH", # flake8-type-checking
224224
"TRY", # tryceratops
225225
"UP", # pyupgrade
226+
"W", # pycodestyle warnings
226227
]
227228
ignore = [
228229
"ANN003",

src/zarr/registry.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ def register(self, cls: type[T]) -> None:
4848
__ndbuffer_registry: Registry[NDBuffer] = Registry()
4949

5050
"""
51-
The registry module is responsible for managing implementations of codecs, pipelines, buffers and ndbuffers and
52-
collecting them from entrypoints.
53-
The implementation used is determined by the config
51+
The registry module is responsible for managing implementations of codecs,
52+
pipelines, buffers and ndbuffers and collecting them from entrypoints.
53+
The implementation used is determined by the config.
5454
"""
5555

5656

0 commit comments

Comments
 (0)