Skip to content

Commit cdc0fd7

Browse files
authored
Bump tools, add actionlint. (#251)
1 parent 30fade1 commit cdc0fd7

File tree

8 files changed

+19
-24
lines changed

8 files changed

+19
-24
lines changed

.github/workflows/checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
matrix:
1919
include:
2020
# Keep in sync with .readthedocs.yml
21-
- python-version: '3.13'
21+
- python-version: '3.14'
2222
env:
2323
TOXENV: docs
2424
- python-version: '3.14'
@@ -35,7 +35,7 @@ jobs:
3535
TOXENV: twinecheck
3636

3737
steps:
38-
- uses: actions/checkout@v5
38+
- uses: actions/checkout@v6
3939

4040
- name: Set up Python ${{ matrix.python-version }}
4141
uses: actions/setup-python@v6

.github/workflows/publish.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,30 +4,21 @@ name: Publish
44
on:
55
push:
66
tags:
7-
- v*
7+
- v[0-9]+.[0-9]+.[0-9]+
88

99
jobs:
1010
publish:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/checkout@v5
14+
- uses: actions/checkout@v6
1515

1616
- name: Set up Python 3.14
1717
uses: actions/setup-python@v6
1818
with:
1919
python-version: '3.14'
2020

21-
- name: Check Tag
22-
id: check-release-tag
23-
run: |
24-
RE="^refs/tags/v[0-9]+[.][0-9]+[.][0-9]+(rc[0-9]+|[.]dev[0-9]+)?$"
25-
if [[ ${{ github.event.ref }} =~ $RE ]]; then
26-
echo ::set-output name=release_tag::true
27-
fi
28-
2921
- name: Publish to PyPI
30-
if: steps.check-release-tag.outputs.release_tag == 'true'
3122
run: |
3223
pip install --upgrade build twine
3324
python -m build

.github/workflows/tests-macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- pypy3.11
2626

2727
steps:
28-
- uses: actions/checkout@v5
28+
- uses: actions/checkout@v6
2929

3030
- name: Set up Python ${{ matrix.python-version }}
3131
uses: actions/setup-python@v6

.github/workflows/tests-ubuntu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- pypy3.11
2626

2727
steps:
28-
- uses: actions/checkout@v5
28+
- uses: actions/checkout@v6
2929

3030
- name: Set up Python ${{ matrix.python-version }}
3131
uses: actions/setup-python@v6

.github/workflows/tests-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- pypy3.11
2626

2727
steps:
28-
- uses: actions/checkout@v5
28+
- uses: actions/checkout@v6
2929

3030
- name: Set up Python ${{ matrix.python-version }}
3131
uses: actions/setup-python@v6

.pre-commit-config.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
repos:
33
- repo: https://github.com/astral-sh/ruff-pre-commit
4-
rev: v0.14.4
4+
rev: v0.14.14
55
hooks:
66
- id: ruff-check
77
args: [--fix]
@@ -11,22 +11,26 @@ repos:
1111
hooks:
1212
- id: blacken-docs
1313
additional_dependencies:
14-
- black==25.9.0
14+
- black==26.1.0
1515
- repo: https://github.com/pre-commit/pre-commit-hooks
1616
rev: v6.0.0
1717
hooks:
1818
- id: end-of-file-fixer
1919
- id: trailing-whitespace
2020
- repo: https://github.com/sphinx-contrib/sphinx-lint
21-
rev: v1.0.0
21+
rev: v1.0.2
2222
hooks:
2323
- id: sphinx-lint
2424
- repo: https://github.com/adrienverge/yamllint.git
25-
rev: v1.37.1
25+
rev: v1.38.0
2626
hooks:
2727
- id: yamllint
2828
args: [--format, parsable, --strict, -d, '{rules: {truthy: {check-keys: false}}}']
2929
- repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
3030
rev: 0.2.3
3131
hooks:
3232
- id: yamlfmt
33+
- repo: https://github.com/rhysd/actionlint
34+
rev: v1.7.10
35+
hooks:
36+
- id: actionlint

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ build:
99
tools:
1010
# For available versions, see:
1111
# https://docs.readthedocs.io/en/stable/config-file/v2.html#build-tools-python
12-
python: '3.13' # Keep in sync with .github/workflows/build.yml
12+
python: '3.14' # Keep in sync with .github/workflows/build.yml
1313
python:
1414
install:
1515
- requirements: docs/requirements.txt

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ commands =
2020
basepython = python3
2121
deps =
2222
pytest
23-
mypy==1.18.2
23+
mypy==1.19.1
2424
commands =
2525
mypy {posargs: w3lib tests}
2626

2727
[testenv:pylint]
2828
deps =
2929
{[testenv]deps}
30-
pylint==4.0.2
30+
pylint==4.0.4
3131
commands =
3232
pylint docs tests w3lib
3333

@@ -46,7 +46,7 @@ skip_install = true
4646
basepython = python3
4747
deps =
4848
twine==6.2.0
49-
build==1.3.0
49+
build==1.4.0
5050
commands =
5151
python -m build --sdist
5252
twine check dist/*

0 commit comments

Comments
 (0)