From 288a0e3f7b0c4d153eef6507dd892817f73d68d6 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:34:28 +0100 Subject: [PATCH] Updated files with 'repo_helper'. --- .github/workflows/docs_test_action.yml | 2 +- .github/workflows/flake8.yml | 2 +- .github/workflows/mypy.yml | 2 +- .github/workflows/python_ci.yml | 2 +- .github/workflows/python_ci_linux.yml | 2 +- .github/workflows/python_ci_macos.yml | 2 +- .pre-commit-config.yaml | 6 ++++-- doc-source/conf.py | 2 +- justfile | 5 +++++ pyproject.toml | 1 + tox.ini | 6 +++++- 11 files changed, 22 insertions(+), 10 deletions(-) diff --git a/.github/workflows/docs_test_action.yml b/.github/workflows/docs_test_action.yml index c83ef0f..f47c729 100644 --- a/.github/workflows/docs_test_action.yml +++ b/.github/workflows/docs_test_action.yml @@ -19,7 +19,7 @@ jobs: uses: "actions/checkout@v6" - name: Check for changed files - uses: dorny/paths-filter@v2 + uses: dorny/paths-filter@v4 id: changes with: list-files: "json" diff --git a/.github/workflows/flake8.yml b/.github/workflows/flake8.yml index 8296b42..1f5be86 100644 --- a/.github/workflows/flake8.yml +++ b/.github/workflows/flake8.yml @@ -22,7 +22,7 @@ jobs: uses: "actions/checkout@v6" - name: Check for changed files - uses: dorny/paths-filter@v2 + uses: dorny/paths-filter@v4 id: changes with: list-files: "json" diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml index 4b27c5d..2b5e4f8 100644 --- a/.github/workflows/mypy.yml +++ b/.github/workflows/mypy.yml @@ -27,7 +27,7 @@ jobs: uses: "actions/checkout@v6" - name: Check for changed files - uses: dorny/paths-filter@v2 + uses: dorny/paths-filter@v4 id: changes with: list-files: "json" diff --git a/.github/workflows/python_ci.yml b/.github/workflows/python_ci.yml index dc8ba60..3c0af7c 100644 --- a/.github/workflows/python_ci.yml +++ b/.github/workflows/python_ci.yml @@ -39,7 +39,7 @@ jobs: - name: Check for changed files if: startsWith(github.ref, 'refs/tags/') != true - uses: dorny/paths-filter@v2 + uses: dorny/paths-filter@v4 id: changes with: list-files: "json" diff --git a/.github/workflows/python_ci_linux.yml b/.github/workflows/python_ci_linux.yml index ca1ba13..f2694c3 100644 --- a/.github/workflows/python_ci_linux.yml +++ b/.github/workflows/python_ci_linux.yml @@ -40,7 +40,7 @@ jobs: - name: Check for changed files if: startsWith(github.ref, 'refs/tags/') != true - uses: dorny/paths-filter@v2 + uses: dorny/paths-filter@v4 id: changes with: list-files: "json" diff --git a/.github/workflows/python_ci_macos.yml b/.github/workflows/python_ci_macos.yml index 249a678..ae41a5b 100644 --- a/.github/workflows/python_ci_macos.yml +++ b/.github/workflows/python_ci_macos.yml @@ -39,7 +39,7 @@ jobs: - name: Check for changed files if: startsWith(github.ref, 'refs/tags/') != true - uses: dorny/paths-filter@v2 + uses: dorny/paths-filter@v4 id: changes with: list-files: "json" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2777cee..ae359de 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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/doc-source/conf.py b/doc-source/conf.py index fa61eda..66c57fe 100644 --- a/doc-source/conf.py +++ b/doc-source/conf.py @@ -93,7 +93,7 @@ def setup(app): app.connect("config-inited", lambda app, config: better_header_layout(config)) app.connect("build-finished", copy_asset_files) - app.add_js_file("https://unpkg.com/twemoji@latest/dist/twemoji.min.js") + app.add_js_file("https://cdn.jsdelivr.net/npm/twemoji@14.0.2/dist/twemoji.min.js") app.add_js_file("twemoji.js") app.add_css_file("twemoji.css") app.add_transform(sphinxemoji.EmojiSubstitutions) 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/pyproject.toml b/pyproject.toml index 3e0deb6..510f1ef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -73,6 +73,7 @@ extensions = [ "sphinx_toolbox.more_autosummary.column_widths", "sphinx_favicon", ] +sphinxemoji_source = "https://cdn.jsdelivr.net/npm/twemoji@14.0.2/dist/twemoji.min.js" gitstamp_fmt = "%d %b %Y" templates_path = [ "_templates",] html_static_path = [ "_static",] diff --git a/tox.ini b/tox.ini index 5b0c497..99585df 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 @@ -144,7 +148,7 @@ skip_install = True ignore_errors = True changedir = {toxinidir} deps = pyupgrade-directories -commands = pyup_dirs flake8_params tests --py36-plus --recursive +commands = pyup_dirs flake8_params tests --py38-plus --recursive [testenv:coverage] basepython = python3.9