From 679d5adb9bb0d8e5f4e4eb14d9eb1874e6b09f2e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 10 Oct 2026 13:59:47 +0000 Subject: [PATCH] chore: sync template files from python-template@v1.0.7 --- .github/scripts/.version | 2 +- .github/scripts/setup.ps1 | 2 ++ .github/scripts/setup.sh | 1 + .pre-commit-config.yaml | 4 +++- 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/scripts/.version b/.github/scripts/.version index e876398..cbe8779 100644 --- a/.github/scripts/.version +++ b/.github/scripts/.version @@ -1 +1 @@ -v1.0.6 +v1.0.7 diff --git a/.github/scripts/setup.ps1 b/.github/scripts/setup.ps1 index cb90858..0a43bde 100644 --- a/.github/scripts/setup.ps1 +++ b/.github/scripts/setup.ps1 @@ -57,6 +57,8 @@ else { & $VenvPython -m pip install --upgrade pip if ($LASTEXITCODE -ne 0) { throw 'Failed to upgrade pip.' } + & $VenvPython -m pip install --upgrade "setuptools>=83.0.0" + if ($LASTEXITCODE -ne 0) { throw 'Failed to upgrade setuptools.' } # Check for [project.optional-dependencies] dev in pyproject.toml $HasDevExtras = $false diff --git a/.github/scripts/setup.sh b/.github/scripts/setup.sh index 60aa291..d9e1a84 100644 --- a/.github/scripts/setup.sh +++ b/.github/scripts/setup.sh @@ -49,6 +49,7 @@ else python3 -m venv .venv .venv/bin/python -m pip install --upgrade pip + .venv/bin/python -m pip install --upgrade "setuptools>=83.0.0" # Check for [project.optional-dependencies] dev in pyproject.toml HAS_DEV_EXTRAS=false diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 286c00e..00a030e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,5 @@ +# Managed by NWarila/python-template — do not edit manually. +# Source: https://github.com/NWarila/python-template default_install_hook_types: [pre-commit, pre-push] repos: @@ -29,7 +31,7 @@ repos: - id: mypy args: ["--strict"] pass_filenames: false - entry: mypy scripts tests + entry: mypy src - repo: https://github.com/codespell-project/codespell rev: v2.4.1