Skip to content

Commit a547682

Browse files
committed
Linting
1 parent 76bc343 commit a547682

File tree

16 files changed

+16
-16
lines changed

16 files changed

+16
-16
lines changed

src/mdio/schema/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
"ScalarType",
1616
"StructuredField",
1717
"StructuredType",
18-
]
18+
]

src/mdio/schema/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ class NamedArray(BaseArray):
4040
"""An array with a name."""
4141

4242
name: str = Field(..., description="Name of the array.")
43-
long_name: str | None = Field(default=None, description="Fully descriptive name.")
43+
long_name: str | None = Field(default=None, description="Fully descriptive name.")

src/mdio/schema/chunk_grid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ class RectilinearChunkGrid(CamelCaseStrictModel):
4141

4242
configuration: RectilinearChunkShape = Field(
4343
..., description="Configuration of the irregular chunk grid."
44-
)
44+
)

src/mdio/schema/compressors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,4 +156,4 @@ class CompressorModel(CamelCaseStrictModel):
156156

157157
compressor: Blosc | ZFP | None = Field(
158158
default=None, description="Compression settings."
159-
)
159+
)

src/mdio/schema/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ class StrictModel(BaseModel):
4646
class CamelCaseStrictModel(StrictModel):
4747
"""A model with forbidden extras and camel case aliases."""
4848

49-
model_config = ConfigDict(alias_generator=to_camel)
49+
model_config = ConfigDict(alias_generator=to_camel)

src/mdio/schema/dimension.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ class NamedDimension(CamelCaseStrictModel):
99
"""Represents a single dimension with a name and size."""
1010

1111
name: str = Field(..., description="Unique identifier for the dimension.")
12-
size: int = Field(..., gt=0, description="Total size of the dimension.")
12+
size: int = Field(..., gt=0, description="Total size of the dimension.")

src/mdio/schema/dtype.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@ class DataTypeModel(CamelCaseStrictModel):
6161

6262
data_type: ScalarType | StructuredType = Field(
6363
..., description="Type of the array."
64-
)
64+
)

src/mdio/schema/metadata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ class UserAttributes(CamelCaseStrictModel):
2828
attributes: dict[str, Any] | None = Field(
2929
default=None,
3030
description="User defined attributes as key/value pairs.",
31-
)
31+
)

src/mdio/schema/units.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@ def create_unit_model(
4848
__base__=CamelCaseStrictModel,
4949
__doc__=f"Model representing units of {quantity}.",
5050
__module__=module,
51-
)
51+
)

src/mdio/schema/v0/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
from mdio.schema.v0.dataset import DatasetModelV0
44

55

6-
__all__ = ["DatasetModelV0"]
6+
__all__ = ["DatasetModelV0"]

0 commit comments

Comments
 (0)