From d5e43e2a514dfa1a1e95f9e8c8f94a6acfe5c840 Mon Sep 17 00:00:00 2001 From: Paul Sanders Date: Fri, 1 Mar 2024 13:45:21 -0500 Subject: [PATCH] Bump default ruff version 0.2.2 -> 0.3.0 --- src/package_version.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/package_version.rs b/src/package_version.rs index 3954c49..ff4a73d 100644 --- a/src/package_version.rs +++ b/src/package_version.rs @@ -168,7 +168,7 @@ pub fn default_version(package: &PythonPackage, min_python_version: &str) -> Str } PythonPackage::Pytest => "8.0.2".to_string(), PythonPackage::PytestCov => "4.1.0".to_string(), - PythonPackage::Ruff => "0.2.2".to_string(), + PythonPackage::Ruff => "0.3.0".to_string(), PythonPackage::Tomli => "2.0.1".to_string(), } } @@ -177,7 +177,7 @@ pub fn default_pre_commit_rev(hook: &PreCommitHook) -> String { match hook { PreCommitHook::MyPy => "v1.8.0".to_string(), PreCommitHook::PreCommit => "v4.5.0".to_string(), - PreCommitHook::Ruff => "v0.2.2".to_string(), + PreCommitHook::Ruff => "v0.3.0".to_string(), } }