Skip to content

Commit eb3a4aa

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 1764762 commit eb3a4aa

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/model_metadata/errors.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,12 @@
33

44

55
class ModelMetadataError(Exception):
6-
76
"""Base error for model_metadata package."""
87

98
pass
109

1110

1211
class MetadataNotFoundError(ModelMetadataError):
13-
1412
"""Raise if metadata cannot be found."""
1513

1614
def __init__(self, path_to_metadata: str):
@@ -21,7 +19,6 @@ def __str__(self) -> str:
2119

2220

2321
class MissingSectionError(ModelMetadataError):
24-
2522
"""Raise if a section in not found in the metadata."""
2623

2724
def __init__(self, name: str):
@@ -36,7 +33,6 @@ def __str__(self) -> str:
3633

3734

3835
class MissingValueError(ModelMetadataError):
39-
4036
"""Raise if a value is not found in a metadata section."""
4137

4238
def __init__(self, name: str):
@@ -51,7 +47,6 @@ def __str__(self) -> str:
5147

5248

5349
class BadEntryPointError(ModelMetadataError):
54-
5550
"""Raise if an entry-point string is bad, in some way."""
5651

5752
def __init__(self, entry_point: str, msg: str | None = None):

src/model_metadata/model_info.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ def object_properties(obj: ModelInfo) -> tuple[tuple[str, Any], ...]:
137137

138138

139139
class ModelInfo:
140-
141140
"""Information about a model."""
142141

143142
def __init__(

0 commit comments

Comments
 (0)