From de28b58e5fd7640c305928f27646f60b1bb404fe Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 17 Feb 2025 17:12:18 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/renovatebot/pre-commit-hooks: 38.110.2 → 39.171.1](https://github.com/renovatebot/pre-commit-hooks/compare/38.110.2...39.171.1) - [github.com/astral-sh/ruff-pre-commit: v0.6.9 → v0.9.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.9...v0.9.6) - [github.com/pre-commit/mirrors-mypy: v1.11.2 → v1.15.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.11.2...v1.15.0) - [github.com/astral-sh/uv-pre-commit: 0.4.18 → 0.6.0](https://github.com/astral-sh/uv-pre-commit/compare/0.4.18...0.6.0) --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3d5a5f0e..c7d56ea0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,13 +12,13 @@ repos: - id: end-of-file-fixer - repo: https://github.com/renovatebot/pre-commit-hooks - rev: 38.110.2 + rev: 39.171.1 hooks: - id: renovate-config-validator files: ^renovate\.json$ - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.9 + rev: v0.9.6 hooks: - id: ruff name: "lint with ruff" @@ -26,7 +26,7 @@ repos: name: "format with ruff" - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.11.2" # Use the sha / tag you want to point at + rev: "v1.15.0" # Use the sha / tag you want to point at hooks: - id: mypy name: "run mypy" @@ -35,7 +35,7 @@ repos: - repo: https://github.com/astral-sh/uv-pre-commit # uv version. - rev: 0.4.18 + rev: 0.6.0 hooks: # Update the uv lockfile - id: uv-lock From cdde1849523b0cd8c6b80934eb2ead55f085ed82 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 17 Feb 2025 17:13:34 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks --- py_maker/helpers.py | 3 +-- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/py_maker/helpers.py b/py_maker/helpers.py index 6bd41af4..918c1307 100644 --- a/py_maker/helpers.py +++ b/py_maker/helpers.py @@ -196,8 +196,7 @@ def check_cmd_exists(cmd: str) -> bool: def confirm_values(choices: ProjectValues) -> bool: """Confirm the values entered by the user.""" print( - "\n[green][bold]Creating a New Python app with the below " - "settings :\n" + "\n[green][bold]Creating a New Python app with the below settings :\n" ) padding: int = max(len(key) for key, _ in choices) + 3 diff --git a/requirements.txt b/requirements.txt index 04ce952b..ed4beb74 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,7 +5,7 @@ certifi==2024.8.30 cffi==1.17.1 charset-normalizer==3.3.2 click==8.1.7 -colorama==0.4.6 ; platform_system == 'Windows' +colorama==0.4.6 ; sys_platform == 'win32' cryptography==43.0.1 deprecated==1.2.14 gitdb==4.0.11