diff --git a/CHANGELOG.md b/CHANGELOG.md index 860731e5..08720bb8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,7 +29,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Dependencies: Update pydantic from 2.9.2 to 2.10.4 ([@dirksammel](https://github.com/dirksammel)) - Dependencies: Update pyo3 from 0.20.3 to 0.22.5 ([@dirksammel](https://github.com/dirksammel)) - Dependencies: Update pytest from 8.3.3 to 8.3.4 ([@dirksammel](https://github.com/dirksammel)) -- Dependencies: Update ruff from 0.7.1 to 0.8.6 ([@dirksammel](https://github.com/dirksammel)) +- Dependencies: Update ruff from 0.7.1 to 0.9.0 ([@dirksammel](https://github.com/dirksammel)) - Dependencies: Update setuptools from 75.3.0 to 75.8.0 ([@dirksammel](https://github.com/dirksammel)) - Dependencies: Update sqlx from 0.7.4 to 0.8.2 (missed some occurrences) ([@dirksammel](https://github.com/dirksammel)) - Dependencies: Update types-pyyaml from 6.0.12.20240917 to 6.0.12.20241230 ([@dirksammel](https://github.com/dirksammel)) diff --git a/collectors/slurm/src/auditorsender.rs b/collectors/slurm/src/auditorsender.rs index e22aea94..9bfc13fc 100644 --- a/collectors/slurm/src/auditorsender.rs +++ b/collectors/slurm/src/auditorsender.rs @@ -22,7 +22,7 @@ pub(crate) struct AuditorSender { hold_till_shutdown: Option>, } -impl<'a> AuditorSender { +impl AuditorSender { #[tracing::instrument( name = "Starting AuditorSender", skip(database, rx, shutdown_notifier, shutdown, channel, client) diff --git a/plugins/apel/pyproject.toml b/plugins/apel/pyproject.toml index 1c939022..b2b6d84e 100644 --- a/plugins/apel/pyproject.toml +++ b/plugins/apel/pyproject.toml @@ -19,7 +19,7 @@ readme = "README.md" [project.optional-dependencies] style = [ "black==24.10.0", - "ruff==0.8.6", + "ruff==0.9.0", ] tests = [ "pytest==8.3.4", diff --git a/pyauditor/scripts/test_advanced_query.py b/pyauditor/scripts/test_advanced_query.py index 421f5538..008cf11d 100644 --- a/pyauditor/scripts/test_advanced_query.py +++ b/pyauditor/scripts/test_advanced_query.py @@ -208,7 +208,7 @@ async def main(): assert len(records) == 34 for i in range(0, 10): - assert records[i].record_id == f"record2-{9-i:02d}" + assert records[i].record_id == f"record2-{9 - i:02d}" query_string = QueryBuilder().limit(4).build() diff --git a/pyauditor/scripts/test_advanced_query_blocking.py b/pyauditor/scripts/test_advanced_query_blocking.py index e1e16088..fa02e25b 100644 --- a/pyauditor/scripts/test_advanced_query_blocking.py +++ b/pyauditor/scripts/test_advanced_query_blocking.py @@ -212,7 +212,7 @@ def main(): assert len(records) == 34 for i in range(0, 10): - assert records[i].record_id == f"record2-{9-i:02d}" + assert records[i].record_id == f"record2-{9 - i:02d}" query_string = QueryBuilder().limit(4).build() diff --git a/pyauditor/scripts/test_advanced_query_queued.py b/pyauditor/scripts/test_advanced_query_queued.py index 2b577a0c..ca87e161 100644 --- a/pyauditor/scripts/test_advanced_query_queued.py +++ b/pyauditor/scripts/test_advanced_query_queued.py @@ -216,7 +216,7 @@ async def main(): assert len(records) == 34 for i in range(0, 10): - assert records[i].record_id == f"record2-{9-i:02d}" + assert records[i].record_id == f"record2-{9 - i:02d}" query_string = QueryBuilder().limit(4).build()