Skip to content

Commit 982e265

Browse files
Updated files with 'repo_helper'.
1 parent 568c6a0 commit 982e265

9 files changed

Lines changed: 37 additions & 26 deletions

File tree

.github/workflows/docs_test_action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Checkout 🛎️
19-
uses: "actions/checkout@v4"
19+
uses: "actions/checkout@v6"
2020

2121
- name: Check for changed files
22-
uses: dorny/paths-filter@v2
22+
uses: dorny/paths-filter@v4
2323
id: changes
2424
with:
2525
list-files: "json"

.github/workflows/flake8.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919

2020
steps:
2121
- name: Checkout 🛎️
22-
uses: "actions/checkout@v4"
22+
uses: "actions/checkout@v6"
2323

2424
- name: Check for changed files
25-
uses: dorny/paths-filter@v2
25+
uses: dorny/paths-filter@v4
2626
id: changes
2727
with:
2828
list-files: "json"
@@ -32,7 +32,7 @@ jobs:
3232
3333
- name: Setup Python 🐍
3434
if: steps.changes.outputs.code == 'true'
35-
uses: "actions/setup-python@v5"
35+
uses: "actions/setup-python@v6"
3636
with:
3737
python-version: "3.9"
3838

.github/workflows/mypy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424

2525
steps:
2626
- name: Checkout 🛎️
27-
uses: "actions/checkout@v4"
27+
uses: "actions/checkout@v6"
2828

2929
- name: Check for changed files
30-
uses: dorny/paths-filter@v2
30+
uses: dorny/paths-filter@v4
3131
id: changes
3232
with:
3333
list-files: "json"
@@ -37,7 +37,7 @@ jobs:
3737
3838
- name: Setup Python 🐍
3939
if: steps.changes.outputs.code == 'true'
40-
uses: "actions/setup-python@v5"
40+
uses: "actions/setup-python@v6"
4141
with:
4242
python-version: "3.9"
4343

.github/workflows/python_ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ jobs:
3737
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False}
3838
- {python-version: "pypy-3.8", testenvs: "pypy38", experimental: False}
3939
- {python-version: "pypy-3.9-v7.3.16", testenvs: "pypy39", experimental: True}
40-
- {python-version: "pypy-3.10-v7.3.19", testenvs: "pypy310,build", experimental: True}
40+
- {python-version: "pypy-3.10-v7.3.19", testenvs: "pypy310", experimental: True}
4141

4242
steps:
4343
- name: Checkout 🛎️
44-
uses: "actions/checkout@v4"
44+
uses: "actions/checkout@v6"
4545

4646
- name: Check for changed files
4747
if: startsWith(github.ref, 'refs/tags/') != true
48-
uses: dorny/paths-filter@v2
48+
uses: dorny/paths-filter@v4
4949
id: changes
5050
with:
5151
list-files: "json"
@@ -56,7 +56,7 @@ jobs:
5656
- name: Setup Python 🐍
5757
id: setup-python
5858
if: ${{ steps.changes.outputs.code == 'true' || steps.changes.outcome == 'skipped' }}
59-
uses: "actions/setup-python@v5"
59+
uses: "actions/setup-python@v6"
6060
with:
6161
python-version: "${{ matrix.config.python-version }}"
6262

.github/workflows/python_ci_linux.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ jobs:
4242

4343
steps:
4444
- name: Checkout 🛎️
45-
uses: "actions/checkout@v4"
45+
uses: "actions/checkout@v6"
4646

4747
- name: Check for changed files
4848
if: startsWith(github.ref, 'refs/tags/') != true
49-
uses: dorny/paths-filter@v2
49+
uses: dorny/paths-filter@v4
5050
id: changes
5151
with:
5252
list-files: "json"
@@ -57,7 +57,7 @@ jobs:
5757
- name: Setup Python 🐍
5858
id: setup-python
5959
if: ${{ steps.changes.outputs.code == 'true' || steps.changes.outcome == 'skipped' }}
60-
uses: "actions/setup-python@v5"
60+
uses: "actions/setup-python@v6"
6161
with:
6262
python-version: "${{ matrix.config.python-version }}"
6363

@@ -91,10 +91,10 @@ jobs:
9191
runs-on: "ubuntu-22.04"
9292
steps:
9393
- name: Checkout 🛎️
94-
uses: "actions/checkout@v4"
94+
uses: "actions/checkout@v6"
9595

9696
- name: Setup Python 🐍
97-
uses: "actions/setup-python@v5"
97+
uses: "actions/setup-python@v6"
9898
with:
9999
python-version: 3.8
100100

@@ -144,11 +144,11 @@ jobs:
144144
runs-on: "ubuntu-22.04"
145145
steps:
146146
- name: Checkout 🛎️
147-
uses: "actions/checkout@v4"
147+
uses: "actions/checkout@v6"
148148
if: startsWith(github.ref, 'refs/tags/')
149149

150150
- name: Setup Python 🐍
151-
uses: "actions/setup-python@v5"
151+
uses: "actions/setup-python@v6"
152152
if: startsWith(github.ref, 'refs/tags/')
153153
with:
154154
python-version: 3.8

.github/workflows/python_ci_macos.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ jobs:
4141

4242
steps:
4343
- name: Checkout 🛎️
44-
uses: "actions/checkout@v4"
44+
uses: "actions/checkout@v6"
4545

4646
- name: Check for changed files
4747
if: startsWith(github.ref, 'refs/tags/') != true
48-
uses: dorny/paths-filter@v2
48+
uses: dorny/paths-filter@v4
4949
id: changes
5050
with:
5151
list-files: "json"
@@ -56,7 +56,7 @@ jobs:
5656
- name: Setup Python 🐍
5757
id: setup-python
5858
if: ${{ steps.changes.outputs.code == 'true' || steps.changes.outcome == 'skipped' }}
59-
uses: "actions/setup-python@v5"
59+
uses: "actions/setup-python@v6"
6060
with:
6161
python-version: "${{ matrix.config.python-version }}"
6262

.pre-commit-config.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ exclude: ^domdf_python_tools/compat/importlib_resources.py$
55

66
ci:
77
autoupdate_schedule: quarterly
8+
skip: [taplo-lint]
89

910
repos:
1011
- repo: https://github.com/repo-helper/pyproject-parser
@@ -21,7 +22,6 @@ repos:
2122
- id: check-case-conflict
2223
- id: check-executables-have-shebangs
2324
- id: check-json
24-
- id: check-toml
2525
- id: check-yaml
2626
- id: check-merge-conflict
2727
- id: check-symlinks
@@ -31,6 +31,12 @@ repos:
3131
- id: mixed-line-ending
3232
- id: end-of-file-fixer
3333

34+
- repo: https://github.com/domdfcoding/taplo-pre-commit
35+
rev: v0.10.0
36+
hooks:
37+
- id: taplo-lint
38+
args: []
39+
3440
- repo: https://github.com/domdfcoding/pre-commit-hooks
3541
rev: v0.7.0
3642
hooks:
@@ -78,9 +84,11 @@ repos:
7884
- id: forbid-crlf
7985

8086
- repo: https://github.com/python-formate/snippet-fmt
81-
rev: v0.1.5
87+
rev: v0.3.1
8288
hooks:
8389
- id: snippet-fmt
90+
additional_dependencies:
91+
- formate-trailing-commas>=0.1.1
8492

8593
- repo: https://github.com/python-formate/formate
8694
rev: v1.2.1

justfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,8 @@ bare-ignore:
2323

2424
lint: unused-imports incomplete-defs bare-ignore
2525
tox -n qa
26+
27+
uncomm:
28+
git status -uall --ignored
29+
30+
# Custom commands can be added below this comment

tox.ini

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,11 @@ setenv =
6767
PIP_DISABLE_PIP_VERSION_CHECK=1
6868

6969
[testenv:py313]
70-
download = True
7170
setenv =
7271
PYTHONDEVMODE=1
7372
PIP_DISABLE_PIP_VERSION_CHECK=1
7473

7574
[testenv:py312]
76-
download = True
7775
setenv =
7876
PYTHONDEVMODE=1
7977
PIP_DISABLE_PIP_VERSION_CHECK=1

0 commit comments

Comments
 (0)