Skip to content

Commit 6a2f545

Browse files
committed
Merge branch 'stable'
2 parents 36e4a82 + 30d1c5d commit 6a2f545

16 files changed

Lines changed: 814 additions & 630 deletions

File tree

.github/workflows/lock.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
pull-requests: write
2020
discussions: write
2121
steps:
22-
- uses: dessant/lock-threads@7266a7ce5c1df01b1c6db85bf8cd86c737dadbe7 # v6.0.0
22+
- uses: dessant/lock-threads@89ae32b08ed1a541efecbab17912962a5e38981c # v6.0.2
2323
with:
2424
issue-inactive-days: 14
2525
pr-inactive-days: 14

.github/workflows/pre-commit.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@ jobs:
1111
main:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
14+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
1515
with:
1616
persist-credentials: false
17-
- uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8.0.0
17+
- uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
1818
with:
1919
enable-cache: true
2020
prune-cache: false
21-
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
21+
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
2222
id: setup-python
2323
with:
2424
python-version-file: pyproject.toml
25-
- uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
25+
- uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
2626
with:
2727
path: ~/.cache/pre-commit
2828
key: pre-commit|${{ hashFiles('pyproject.toml', '.pre-commit-config.yaml') }}

.github/workflows/publish.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@ jobs:
1212
outputs:
1313
artifact-id: ${{ steps.upload-artifact.outputs.artifact-id }}
1414
steps:
15-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
15+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
1616
with:
1717
persist-credentials: false
18-
- uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8.0.0
18+
- uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
1919
with:
2020
enable-cache: false
2121
prune-cache: false
22-
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
22+
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
2323
with:
2424
python-version-file: pyproject.toml
2525
- run: echo "SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)" >> $GITHUB_ENV
2626
- run: uv build
27-
- uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
27+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
2828
id: upload-artifact
2929
with:
3030
name: dist
@@ -57,6 +57,6 @@ jobs:
5757
with:
5858
artifact-ids: ${{ needs.build.outputs.artifact-id }}
5959
path: dist/
60-
- uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
60+
- uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
6161
with:
6262
packages-dir: "dist/"

.github/workflows/tests.yaml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
include:
20+
- {python: '3.15'}
2021
- {python: '3.14'}
2122
- {python: '3.14t'}
2223
- {name: Windows, python: '3.14', os: windows-latest}
@@ -29,34 +30,35 @@ jobs:
2930
- {name: Minimum Versions, python: '3.14', tox: tests-min}
3031
- {name: Development Versions, python: '3.10', tox: tests-dev}
3132
steps:
32-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
33+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
3334
with:
3435
persist-credentials: false
35-
- uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8.0.0
36+
- uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
3637
with:
3738
enable-cache: true
3839
prune-cache: false
39-
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
40+
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
4041
with:
4142
python-version: ${{ matrix.python }}
43+
allow-prereleases: true
4244
- run: uv run --locked --no-default-groups --group dev tox run
4345
env:
4446
TOX_ENV: ${{ matrix.tox || format('py{0}', matrix.python) }}
4547
typing:
4648
runs-on: ubuntu-latest
4749
steps:
48-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
50+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
4951
with:
5052
persist-credentials: false
51-
- uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8.0.0
53+
- uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
5254
with:
5355
enable-cache: true
5456
prune-cache: false
55-
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
57+
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
5658
with:
5759
python-version-file: pyproject.toml
5860
- name: cache mypy
59-
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
61+
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
6062
with:
6163
path: ./.mypy_cache
6264
key: mypy|${{ hashFiles('pyproject.toml') }}

.github/workflows/zizmor.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
zizmor:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
16+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
1717
with:
1818
persist-credentials: false
19-
- uses: zizmorcore/zizmor-action@71321a20a9ded102f6e9ce5718a2fcec2c4f70d8 # v0.5.2
19+
- uses: zizmorcore/zizmor-action@6fc4b006235f201fdab3722e17240ab420d580e5 # v0.6.1
2020
with:
2121
advanced-security: false
2222
annotations: true

.pre-commit-config.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: 5e2fb545eba1ea9dc051f6f962d52fe8f76a9794 # frozen: v0.15.13
3+
rev: cb8c523fd4835aba42af70f4cad5568db4df0b6c # frozen: v0.16.0
44
hooks:
55
- id: ruff-check
66
- id: ruff-format
77
- repo: https://github.com/astral-sh/uv-pre-commit
8-
rev: fa60a193803535a9e2accdb3ca4b1b584b1150cb # frozen: 0.11.15
8+
rev: 5900cba2cfe6d20f562458d4d308ac55569f92eb # frozen: 0.12.0
99
hooks:
1010
- id: uv-lock
1111
- repo: https://github.com/codespell-project/codespell
12-
rev: 2ccb47ff45ad361a21071a7eedda4c37e6ae8c5a # frozen: v2.4.2
12+
rev: 57b21406f092110c18776e39b0bda50d37c945c8 # frozen: v2.4.3
1313
hooks:
1414
- id: codespell
15-
args: ['--write-changes']
15+
additional_dependencies:
16+
- tomli
1617
- repo: https://github.com/pre-commit/pre-commit-hooks
1718
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0
1819
hooks:

examples/celery/pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,8 @@ name = "task_app"
1515

1616
[tool.ruff]
1717
src = ["src"]
18+
19+
[tool.ruff.lint.isort]
20+
force-single-line = true
21+
order-by-type = false
22+
known-first-party = ["task_app"]

examples/celery/src/task_app/__init__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
def create_app() -> Flask:
88
app = Flask(__name__)
99
app.config.from_mapping(
10-
CELERY=dict(
11-
broker_url="redis://localhost",
12-
result_backend="redis://localhost",
13-
task_ignore_result=True,
14-
),
10+
CELERY={
11+
"broker_url": "redis://localhost",
12+
"result_backend": "redis://localhost",
13+
"task_ignore_result": True,
14+
},
1515
)
1616
app.config.from_prefixed_env()
1717
celery_init_app(app)

examples/javascript/js_example/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
app = Flask(__name__)
44

5-
from js_example import views # noqa: E402, F401
5+
from js_example import views # noqa: F401

examples/javascript/pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,8 @@ source = ["js_example", "tests"]
3131

3232
[tool.ruff]
3333
src = ["src"]
34+
35+
[tool.ruff.lint.isort]
36+
force-single-line = true
37+
order-by-type = false
38+
known-first-party = ["js_example"]

0 commit comments

Comments
 (0)