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