diff --git a/src/project_generator.rs b/src/project_generator.rs index c52a186..e538a0c 100644 --- a/src/project_generator.rs +++ b/src/project_generator.rs @@ -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(), }, ]; @@ -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(), @@ -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(), }, ]; @@ -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, @@ -706,32 +706,32 @@ 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 . "# @@ -739,11 +739,11 @@ maturin==1.3.2 } 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 . "# @@ -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]