From c4ae1942fa97d9decbb9eaef8ccc0fe6491ba506 Mon Sep 17 00:00:00 2001 From: R-Palazzo Date: Fri, 25 Oct 2024 12:01:27 -0400 Subject: [PATCH] fix-lint --- deepecho/models/base.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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',