@@ -205,12 +205,12 @@ fn build_latest_pre_commit_dependencies(
205205 PreCommitHookVersion {
206206 id: PreCommitHook :: PreCommit ,
207207 repo: "https://github.com/pre-commit/pre-commit-hooks" . to_string( ) ,
208- rev: "v4.4 .0" . to_string( ) ,
208+ rev: "v4.5 .0" . to_string( ) ,
209209 } ,
210210 PreCommitHookVersion {
211211 id: PreCommitHook :: Black ,
212212 repo: "https://github.com/psf/black" . to_string( ) ,
213- rev: "23.9.1 " . to_string( ) ,
213+ rev: "23.10.0 " . to_string( ) ,
214214 } ,
215215 PreCommitHookVersion {
216216 id: PreCommitHook :: MyPy ,
@@ -220,7 +220,7 @@ fn build_latest_pre_commit_dependencies(
220220 PreCommitHookVersion {
221221 id: PreCommitHook :: Ruff ,
222222 repo: "https://github.com/astral-sh/ruff-pre-commit" . to_string( ) ,
223- rev: "v0.0.289 " . to_string( ) ,
223+ rev: "v0.1.0 " . to_string( ) ,
224224 } ,
225225 ] ;
226226
@@ -299,15 +299,15 @@ fn build_latest_dev_dependencies(
299299 let mut packages = vec ! [
300300 PythonPackageVersion {
301301 name: "black" . to_string( ) ,
302- version: "23.9.1 " . to_string( ) ,
302+ version: "23.10.0 " . to_string( ) ,
303303 } ,
304304 PythonPackageVersion {
305305 name: "mypy" . to_string( ) ,
306306 version: "1.5.1" . to_string( ) ,
307307 } ,
308308 PythonPackageVersion {
309309 name: "pre-commit" . to_string( ) ,
310- version: "3.4 .0" . to_string( ) ,
310+ version: "3.5 .0" . to_string( ) ,
311311 } ,
312312 PythonPackageVersion {
313313 name: "pytest" . to_string( ) ,
@@ -319,7 +319,7 @@ fn build_latest_dev_dependencies(
319319 } ,
320320 PythonPackageVersion {
321321 name: "ruff" . to_string( ) ,
322- version: "0.0.289 " . to_string( ) ,
322+ version: "0.1.0 " . to_string( ) ,
323323 } ,
324324 ] ;
325325
@@ -729,48 +729,48 @@ mod tests {
729729
730730 fn pinned_poetry_dependencies ( ) -> String {
731731 r#"[tool.poetry.group.dev.dependencies]
732- black = "23.9.1 "
732+ black = "23.10.0 "
733733mypy = "1.5.1"
734- pre-commit = "3.4 .0"
734+ pre-commit = "3.5 .0"
735735pytest = "7.4.2"
736736pytest-cov = "4.1.0"
737- ruff = "0.0.289 "
737+ ruff = "0.1.0 "
738738tomli = {version = "2.0.1", python = "<3.11"}"#
739739 . to_string ( )
740740 }
741741
742742 fn min_poetry_dependencies ( ) -> String {
743743 r#"[tool.poetry.group.dev.dependencies]
744- black = ">=23.9.1 "
744+ black = ">=23.10.0 "
745745mypy = ">=1.5.1"
746- pre-commit = ">=3.4 .0"
746+ pre-commit = ">=3.5 .0"
747747pytest = ">=7.4.2"
748748pytest-cov = ">=4.1.0"
749- ruff = ">=0.0.289 "
749+ ruff = ">=0.1.0 "
750750tomli = {version = ">=2.0.1", python = "<3.11"}"#
751751 . to_string ( )
752752 }
753753
754754 fn pinned_requirments_file ( ) -> String {
755- r#"black==23.9.1
755+ r#"black==23.10.0
756756mypy==1.5.1
757- pre-commit==3.4 .0
757+ pre-commit==3.5 .0
758758pytest==7.4.2
759759pytest-cov==4.1.0
760- ruff==0.0.289
760+ ruff==0.1.0
761761maturin==1.2.3
762762-e .
763763"#
764764 . to_string ( )
765765 }
766766
767767 fn min_requirments_file ( ) -> String {
768- r#"black>=23.9.1
768+ r#"black>=23.10.0
769769mypy>=1.5.1
770- pre-commit>=3.4 .0
770+ pre-commit>=3.5 .0
771771pytest>=7.4.2
772772pytest-cov>=4.1.0
773- ruff>=0.0.289
773+ ruff>=0.1.0
774774maturin>=1.2.3
775775-e .
776776"#
@@ -1100,7 +1100,7 @@ dmypy.json
11001100 let expected = format ! (
11011101 r#"repos:
11021102 - repo: https://github.com/pre-commit/pre-commit-hooks
1103- rev: v4.4 .0
1103+ rev: v4.5 .0
11041104 hooks:
11051105 - id: check-added-large-files
11061106 - id: check-toml
@@ -1109,7 +1109,7 @@ dmypy.json
11091109 - id: end-of-file-fixer
11101110 - id: trailing-whitespace
11111111 - repo: https://github.com/psf/black
1112- rev: 23.9.1
1112+ rev: 23.10.0
11131113 hooks:
11141114 - id: black
11151115 language_version: python3
@@ -1119,7 +1119,7 @@ dmypy.json
11191119 hooks:
11201120 - id: mypy
11211121 - repo: https://github.com/astral-sh/ruff-pre-commit
1122- rev: v0.0.289
1122+ rev: v0.1.0
11231123 hooks:
11241124 - id: ruff
11251125 args: [--fix, --exit-non-zero-on-fix]
0 commit comments