diff --git a/deepecho/models/base.py b/deepecho/models/base.py index cfd3982..545a3e7 100644 --- a/deepecho/models/base.py +++ b/deepecho/models/base.py @@ -148,7 +148,7 @@ def fit( if segment_size is not None and not isinstance(segment_size, int): if sequence_index is None: raise TypeError( - '`segment_size` must be of type `int` if ' 'no `sequence_index` is given.' + '`segment_size` must be of type `int` if no `sequence_index` is given.' ) if data[sequence_index].dtype.kind != 'M': raise TypeError( diff --git a/pyproject.toml b/pyproject.toml index d3476dd..2152037 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,7 +61,7 @@ dev = [ 'watchdog>=1.0.1,<5', # style check - 'ruff>=0.3.2,<1', + 'ruff>=0.3.2,<0.7.2', # distribute on PyPI 'twine>=1.10.0,<4',