Skip to content

Commit a531d98

Browse files
authored
Merge pull request #121 from sanders41/dependencies
Bump dev dependencies
2 parents f8f2ab8 + 1830a35 commit a531d98

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

src/project_generator.rs

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ fn build_latest_pre_commit_dependencies(
210210
PreCommitHookVersion {
211211
id: PreCommitHook::Black,
212212
repo: "https://github.com/psf/black".to_string(),
213-
rev: "23.10.0".to_string(),
213+
rev: "23.10.1".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.1.0".to_string(),
223+
rev: "v0.1.1".to_string(),
224224
},
225225
];
226226

@@ -299,7 +299,7 @@ fn build_latest_dev_dependencies(
299299
let mut packages = vec![
300300
PythonPackageVersion {
301301
name: "black".to_string(),
302-
version: "23.10.0".to_string(),
302+
version: "23.10.1".to_string(),
303303
},
304304
PythonPackageVersion {
305305
name: "mypy".to_string(),
@@ -319,7 +319,7 @@ fn build_latest_dev_dependencies(
319319
},
320320
PythonPackageVersion {
321321
name: "ruff".to_string(),
322-
version: "0.1.0".to_string(),
322+
version: "0.1.1".to_string(),
323323
},
324324
];
325325

@@ -704,7 +704,7 @@ mod tests {
704704
creator_email: "[email protected]".to_string(),
705705
license: LicenseType::Mit,
706706
copyright_year: Some("2023".to_string()),
707-
version: "0.1.0".to_string(),
707+
version: "0.1.1".to_string(),
708708
python_version: "3.11".to_string(),
709709
min_python_version: "3.8".to_string(),
710710
project_manager: ProjectManager::Poetry,
@@ -729,48 +729,48 @@ mod tests {
729729

730730
fn pinned_poetry_dependencies() -> String {
731731
r#"[tool.poetry.group.dev.dependencies]
732-
black = "23.10.0"
732+
black = "23.10.1"
733733
mypy = "1.6.1"
734734
pre-commit = "3.5.0"
735735
pytest = "7.4.2"
736736
pytest-cov = "4.1.0"
737-
ruff = "0.1.0"
737+
ruff = "0.1.1"
738738
tomli = {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.10.0"
744+
black = ">=23.10.1"
745745
mypy = ">=1.6.1"
746746
pre-commit = ">=3.5.0"
747747
pytest = ">=7.4.2"
748748
pytest-cov = ">=4.1.0"
749-
ruff = ">=0.1.0"
749+
ruff = ">=0.1.1"
750750
tomli = {version = ">=2.0.1", python = "<3.11"}"#
751751
.to_string()
752752
}
753753

754754
fn pinned_requirments_file() -> String {
755-
r#"black==23.10.0
755+
r#"black==23.10.1
756756
mypy==1.6.1
757757
pre-commit==3.5.0
758758
pytest==7.4.2
759759
pytest-cov==4.1.0
760-
ruff==0.1.0
760+
ruff==0.1.1
761761
maturin==1.3.1
762762
-e .
763763
"#
764764
.to_string()
765765
}
766766

767767
fn min_requirments_file() -> String {
768-
r#"black>=23.10.0
768+
r#"black>=23.10.1
769769
mypy>=1.6.1
770770
pre-commit>=3.5.0
771771
pytest>=7.4.2
772772
pytest-cov>=4.1.0
773-
ruff>=0.1.0
773+
ruff>=0.1.1
774774
maturin>=1.3.1
775775
-e .
776776
"#
@@ -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.10.0
1112+
rev: 23.10.1
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.1.0
1122+
rev: v0.1.1
11231123
hooks:
11241124
- id: ruff
11251125
args: [--fix, --exit-non-zero-on-fix]

0 commit comments

Comments
 (0)