Skip to content

Commit

Permalink
Bump dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sanders41 committed Nov 21, 2023
1 parent 6ca7bbf commit 6829a03
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions src/project_generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,12 +210,12 @@ fn build_latest_pre_commit_dependencies(
PreCommitHookVersion {
id: PreCommitHook::MyPy,
repo: "https://github.com/pre-commit/mirrors-mypy".to_string(),
rev: "v1.6.1".to_string(),
rev: "v1.7.0".to_string(),
},
PreCommitHookVersion {
id: PreCommitHook::Ruff,
repo: "https://github.com/astral-sh/ruff-pre-commit".to_string(),
rev: "v0.1.5".to_string(),
rev: "v0.1.6".to_string(),
},
];

Expand Down Expand Up @@ -284,7 +284,7 @@ fn build_latest_dev_dependencies(
let mut packages = vec![
PythonPackageVersion {
name: "mypy".to_string(),
version: "1.6.1".to_string(),
version: "1.7.0".to_string(),
},
PythonPackageVersion {
name: "pre-commit".to_string(),
Expand All @@ -300,7 +300,7 @@ fn build_latest_dev_dependencies(
},
PythonPackageVersion {
name: "ruff".to_string(),
version: "0.1.5".to_string(),
version: "0.1.6".to_string(),
},
];

Expand Down Expand Up @@ -681,7 +681,7 @@ mod tests {
creator_email: "authur@heartofgold.com".to_string(),
license: LicenseType::Mit,
copyright_year: Some("2023".to_string()),
version: "0.1.5".to_string(),
version: "0.1.6".to_string(),
python_version: "3.11".to_string(),
min_python_version: "3.8".to_string(),
project_manager: ProjectManager::Poetry,
Expand All @@ -706,44 +706,44 @@ mod tests {

fn pinned_poetry_dependencies() -> String {
r#"[tool.poetry.group.dev.dependencies]
mypy = "1.6.1"
mypy = "1.7.0"
pre-commit = "3.5.0"
pytest = "7.4.2"
pytest-cov = "4.1.0"
ruff = "0.1.5"
ruff = "0.1.6"
tomli = {version = "2.0.1", python = "<3.11"}"#
.to_string()
}

fn min_poetry_dependencies() -> String {
r#"[tool.poetry.group.dev.dependencies]
mypy = ">=1.6.1"
mypy = ">=1.7.0"
pre-commit = ">=3.5.0"
pytest = ">=7.4.2"
pytest-cov = ">=4.1.0"
ruff = ">=0.1.5"
ruff = ">=0.1.6"
tomli = {version = ">=2.0.1", python = "<3.11"}"#
.to_string()
}

fn pinned_requirments_file() -> String {
r#"mypy==1.6.1
r#"mypy==1.7.0
pre-commit==3.5.0
pytest==7.4.2
pytest-cov==4.1.0
ruff==0.1.5
ruff==0.1.6
maturin==1.3.2
-e .
"#
.to_string()
}

fn min_requirments_file() -> String {
r#"mypy>=1.6.1
r#"mypy>=1.7.0
pre-commit>=3.5.0
pytest>=7.4.2
pytest-cov>=4.1.0
ruff>=0.1.5
ruff>=0.1.6
maturin>=1.3.2
-e .
"#
Expand Down Expand Up @@ -1080,11 +1080,11 @@ dmypy.json
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.6.1
rev: v1.7.0
hooks:
- id: mypy
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.5
rev: v0.1.6
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down

0 comments on commit 6829a03

Please sign in to comment.