From 5e7441a0d8b61cb4eab6b2ba4c35c8271974ff6f Mon Sep 17 00:00:00 2001 From: "repo-helper[bot]" <74742576+repo-helper[bot]@users.noreply.github.com> Date: Sun, 13 Sep 2026 19:35:10 +0100 Subject: [PATCH] Updated files with 'repo_helper'. --- .github/workflows/flake8.yml | 6 +++--- .github/workflows/mypy.yml | 6 +++--- .pre-commit-config.yaml | 8 +++++--- justfile | 5 +++++ tox.ini | 6 +++++- 5 files changed, 21 insertions(+), 10 deletions(-) diff --git a/.github/workflows/flake8.yml b/.github/workflows/flake8.yml index 678e5d5..15b1cdf 100644 --- a/.github/workflows/flake8.yml +++ b/.github/workflows/flake8.yml @@ -19,12 +19,12 @@ jobs: steps: - name: Checkout 🛎️ - uses: "actions/checkout@v4" + uses: "actions/checkout@v6" with: submodules: True - name: Check for changed files - uses: dorny/paths-filter@v2 + uses: dorny/paths-filter@v4 id: changes with: list-files: "json" @@ -34,7 +34,7 @@ jobs: - name: Setup Python 🐍 if: steps.changes.outputs.code == 'true' - uses: "actions/setup-python@v5" + uses: "actions/setup-python@v6" with: python-version: "3.9" diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml index a098ff8..596949d 100644 --- a/.github/workflows/mypy.yml +++ b/.github/workflows/mypy.yml @@ -24,12 +24,12 @@ jobs: steps: - name: Checkout 🛎️ - uses: "actions/checkout@v4" + uses: "actions/checkout@v6" with: submodules: True - name: Check for changed files - uses: dorny/paths-filter@v2 + uses: dorny/paths-filter@v4 id: changes with: list-files: "json" @@ -39,7 +39,7 @@ jobs: - name: Setup Python 🐍 if: steps.changes.outputs.code == 'true' - uses: "actions/setup-python@v5" + uses: "actions/setup-python@v6" with: python-version: "3.9" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5d53381..bf5077e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ exclude: ^tests/specs/ ci: autoupdate_schedule: quarterly - skip: [fmt, cargo-check] + skip: [taplo-lint, fmt, cargo-check] repos: - repo: https://github.com/repo-helper/pyproject-parser @@ -38,7 +38,7 @@ repos: args: [] - repo: https://github.com/domdfcoding/pre-commit-hooks - rev: v0.7.0 + rev: v0.8.1 hooks: - id: requirements-txt-sorter args: @@ -84,9 +84,11 @@ repos: - id: forbid-crlf - repo: https://github.com/python-formate/snippet-fmt - rev: v0.1.5 + rev: v0.3.1 hooks: - id: snippet-fmt + additional_dependencies: + - formate-trailing-commas>=0.1.1 - repo: https://github.com/python-formate/formate rev: v1.2.1 diff --git a/justfile b/justfile index 9cd8b78..4307956 100644 --- a/justfile +++ b/justfile @@ -23,3 +23,8 @@ bare-ignore: lint: unused-imports incomplete-defs bare-ignore tox -n qa + +uncomm: + git status -uall --ignored + +# Custom commands can be added below this comment diff --git a/tox.ini b/tox.ini index cf16b7a..89b7443 100644 --- a/tox.ini +++ b/tox.ini @@ -4,6 +4,10 @@ # * envlists # * testenv # * testenv:.package +# * testenv:py315-dev +# * testenv:py315 +# * testenv:py314-dev +# * testenv:py314 # * testenv:py313-dev # * testenv:py313 # * testenv:py312-dev @@ -117,7 +121,7 @@ skip_install = True ignore_errors = True changedir = {toxinidir} deps = pyupgrade-directories -commands = pyup_dirs tests python/formate_js --py36-plus --recursive +commands = pyup_dirs tests python/formate_js --py38-plus --recursive [testenv:coverage] basepython = python3.9