@@ -175,7 +175,7 @@ pub fn default_version(package: &PythonPackage) -> String {
175175 PythonPackage :: Pytest => "8.4.1" . to_string ( ) ,
176176 PythonPackage :: PytestAsyncio => "1.0.0" . to_string ( ) ,
177177 PythonPackage :: PytestCov => "6.2.1" . to_string ( ) ,
178- PythonPackage :: Ruff => "0.12.0 " . to_string ( ) ,
178+ PythonPackage :: Ruff => "0.12.1 " . to_string ( ) ,
179179 PythonPackage :: Tomli => "2.0.1" . to_string ( ) ,
180180 }
181181}
@@ -184,7 +184,7 @@ pub fn default_pre_commit_rev(hook: &PreCommitHook) -> String {
184184 match hook {
185185 PreCommitHook :: MyPy => "v1.16.1" . to_string ( ) ,
186186 PreCommitHook :: PreCommit => "v5.0.0" . to_string ( ) ,
187- PreCommitHook :: Ruff => "v0.12.0 " . to_string ( ) ,
187+ PreCommitHook :: Ruff => "v0.12.1 " . to_string ( ) ,
188188 }
189189}
190190
@@ -197,7 +197,7 @@ pub fn pre_commit_repo(hook: &PreCommitHook) -> String {
197197}
198198
199199fn get_latest_python_version ( name : & str ) -> Result < String > {
200- let url = format ! ( "https://pypi.org/pypi/{}/json" , name ) ;
200+ let url = format ! ( "https://pypi.org/pypi/{name }/json" ) ;
201201 let client = reqwest:: blocking:: Client :: new ( ) ;
202202 let attempts = 3 ;
203203 let min = Duration :: from_millis ( 100 ) ; // 10ms
0 commit comments