Skip to content

Commit

Permalink
ruff compliance for D106. (#5676)
Browse files Browse the repository at this point in the history
* ruff compliance for D106.

* ruff compliance for D106.
  • Loading branch information
tkknight authored Jan 3, 2024
1 parent cd41438 commit cfa3644
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion .ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ lint.ignore = [
"D101", # Missing docstring in public class
"D102", # Missing docstring in public method
"D104", # Missing docstring in public package
"D106", # Missing docstring in public nested class
# (D-3) Temporary, before an initial review, either fix ocurrences or move to (2).
"D100", # Missing docstring in public module
"D103", # Missing docstring in public function
Expand Down
4 changes: 4 additions & 0 deletions lib/iris/fileformats/netcdf/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,11 @@ def load_cubes(file_sources, callback=None, constraints=None):


class ChunkControl(threading.local):
"""Provide user control of Chunk Control."""

class Modes(Enum):
"""Modes Enums."""

DEFAULT = auto()
FROM_FILE = auto()
AS_DASK = auto()
Expand Down

0 comments on commit cfa3644

Please sign in to comment.