Skip to content

Commit a42ac37

Browse files
authored
Merge pull request #12 from NERC-CEH/bug/ruff-warnings
2 parents 46c0007 + fb374f1 commit a42ac37

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/time_stream/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ def __getattr__(name: str) -> Any:
2828
# dependencies being loaded at startup and also gives us control over what to expose from the package.
2929

3030
if name == "TimeSeries":
31-
from time_stream.base import TimeSeries
31+
from time_stream.base import TimeSeries # noqa: PLC0415
3232

3333
return TimeSeries
3434

3535
if name == "Period":
36-
from time_stream.period import Period
36+
from time_stream.period import Period # noqa: PLC0415
3737

3838
return Period
3939

src/time_stream/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from time_stream.relationships import RelationshipManager
1313

1414

15-
class TimeSeries:
15+
class TimeSeries: # noqa: PLW1641 ignore hash warning
1616
"""A class representing a time series data model, with data held in a Polars DataFrame."""
1717

1818
def __init__(

src/time_stream/columns.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from time_stream import TimeSeries
1212

1313

14-
class TimeSeriesColumn(ABC):
14+
class TimeSeriesColumn(ABC): # noqa: PLW1641 ignore hash warning
1515
"""Base class for all column types in a TimeSeries."""
1616

1717
def __init__(self, name: str, ts: "TimeSeries", metadata: Optional[Dict[str, Any]] = None) -> None:

0 commit comments

Comments
 (0)