From 450b6be9a6eb218d8edfd6370a81880b87ee477b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yolan=20Honor=C3=A9-Roug=C3=A9?= Date: Sun, 16 Feb 2025 23:45:23 +0100 Subject: [PATCH] :arrow_up: Bump ruff version --- .pre-commit-config.yaml | 4 ++-- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 239594df..3e386d85 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ exclude: ^kedro_mlflow/template/project/run.py$ repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.8.3 + rev: v0.9.6 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] @@ -10,7 +10,7 @@ repos: rev: v1.12.1 hooks: - id: blacken-docs - additional_dependencies: [black==23.10.1] + additional_dependencies: [black==25.1.0] - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.5.0 hooks: diff --git a/pyproject.toml b/pyproject.toml index 5c41c187..f321ad86 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -55,7 +55,7 @@ test = [ "pytest-lazy-fixtures>=1.0.0, <2.0.0", # pytest==8.0.0 breaks pytest-lazy-fixture (without final S) : https://github.com/TvoroG/pytest-lazy-fixture/issues/65 "pytest-mock>=3.1.0, <4.0.0", "pytest-xdist>=3.0.0,<4.0.0", # mess up the test readibility in the console but is much faster for the CI with "-n auto" option - "ruff>=0.5.0,<0.9.0", # ensure consistency with pre-commit + "ruff>=0.5.0,<0.10.0", # ensure consistency with pre-commit "scikit-learn>=0.23.0, <1.7.0", "kedro-datasets[pandas.CSVDataSet]", ]