Skip to content

Commit b5b4624

Browse files
[repo-helper] Configuration Update (#90)
Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com>
1 parent 86cbf7f commit b5b4624

10 files changed

Lines changed: 44 additions & 37 deletions

File tree

.github/workflows/conda_ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818

1919
steps:
2020
- name: Checkout 🛎️
21-
uses: "actions/checkout@v4"
21+
uses: "actions/checkout@v6"
2222

2323
- name: Setup Python 🐍
24-
uses: "actions/setup-python@v5"
24+
uses: "actions/setup-python@v6"
2525
with:
2626
python-version: "3.11"
2727

.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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ jobs:
3939

4040
steps:
4141
- name: Checkout 🛎️
42-
uses: "actions/checkout@v4"
42+
uses: "actions/checkout@v6"
4343

4444
- name: Check for changed files
4545
if: startsWith(github.ref, 'refs/tags/') != true
46-
uses: dorny/paths-filter@v2
46+
uses: dorny/paths-filter@v4
4747
id: changes
4848
with:
4949
list-files: "json"
@@ -54,7 +54,7 @@ jobs:
5454
- name: Setup Python 🐍
5555
id: setup-python
5656
if: ${{ steps.changes.outputs.code == 'true' || steps.changes.outcome == 'skipped' }}
57-
uses: "actions/setup-python@v5"
57+
uses: "actions/setup-python@v6"
5858
with:
5959
python-version: "${{ matrix.config.python-version }}"
6060

.github/workflows/python_ci_linux.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ jobs:
4040

4141
steps:
4242
- name: Checkout 🛎️
43-
uses: "actions/checkout@v4"
43+
uses: "actions/checkout@v6"
4444

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

@@ -89,10 +89,10 @@ jobs:
8989
runs-on: "ubuntu-22.04"
9090
steps:
9191
- name: Checkout 🛎️
92-
uses: "actions/checkout@v4"
92+
uses: "actions/checkout@v6"
9393

9494
- name: Setup Python 🐍
95-
uses: "actions/setup-python@v5"
95+
uses: "actions/setup-python@v6"
9696
with:
9797
python-version: 3.8
9898

@@ -142,11 +142,11 @@ jobs:
142142
runs-on: "ubuntu-22.04"
143143
steps:
144144
- name: Checkout 🛎️
145-
uses: "actions/checkout@v4"
145+
uses: "actions/checkout@v6"
146146
if: startsWith(github.ref, 'refs/tags/')
147147

148148
- name: Setup Python 🐍
149-
uses: "actions/setup-python@v5"
149+
uses: "actions/setup-python@v6"
150150
if: startsWith(github.ref, 'refs/tags/')
151151
with:
152152
python-version: 3.8
@@ -189,10 +189,10 @@ jobs:
189189
if: startsWith(github.ref, 'refs/tags/') || (startsWith(github.event.head_commit.message, 'Bump version') != true)
190190
steps:
191191
- name: Checkout 🛎️
192-
uses: "actions/checkout@v4"
192+
uses: "actions/checkout@v6"
193193

194194
- name: Setup Python 🐍
195-
uses: "actions/setup-python@v5"
195+
uses: "actions/setup-python@v6"
196196
with:
197197
python-version: 3.11
198198

.github/workflows/python_ci_macos.yml

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

4040
steps:
4141
- name: Checkout 🛎️
42-
uses: "actions/checkout@v4"
42+
uses: "actions/checkout@v6"
4343

4444
- name: Check for changed files
4545
if: startsWith(github.ref, 'refs/tags/') != true
46-
uses: dorny/paths-filter@v2
46+
uses: dorny/paths-filter@v4
4747
id: changes
4848
with:
4949
list-files: "json"
@@ -54,7 +54,7 @@ jobs:
5454
- name: Setup Python 🐍
5555
id: setup-python
5656
if: ${{ steps.changes.outputs.code == 'true' || steps.changes.outcome == 'skipped' }}
57-
uses: "actions/setup-python@v5"
57+
uses: "actions/setup-python@v6"
5858
with:
5959
python-version: "${{ matrix.config.python-version }}"
6060

.pre-commit-config.yaml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ exclude: ^$
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,15 +31,24 @@ 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
35-
rev: v0.6.0
41+
rev: v0.7.0
3642
hooks:
3743
- id: requirements-txt-sorter
3844
args:
3945
- --allow-git
4046
- id: check-docstring-first
4147
exclude: ^(doc-source/conf|__pkginfo__|setup|tests/.*)\.py$
4248
- id: bind-requirements
49+
args:
50+
- --python-min
51+
- '3.7'
4352

4453
- repo: https://github.com/python-formate/flake8-dunder-all
4554
rev: v0.5.0
@@ -61,7 +70,7 @@ repos:
6170
- id: rst-inline-touching-normal
6271

6372
- repo: https://github.com/python-formate/pyupgrade
64-
rev: '2e49872'
73+
rev: bbe3007
6574
hooks:
6675
- id: pyupgrade
6776
args:
@@ -82,7 +91,7 @@ repos:
8291
- formate-trailing-commas>=0.1.1
8392

8493
- repo: https://github.com/python-formate/formate
85-
rev: v1.2.0
94+
rev: v1.2.1
8695
hooks:
8796
- id: formate
8897
exclude: ^(doc-source/conf|__pkginfo__|setup)\.(_)?py$

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: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ setenv =
9696
PYTHONDEVMODE=1
9797
PIP_DISABLE_PIP_VERSION_CHECK=1
9898
SETUPTOOLS_USE_DISTUTILS=stdlib
99+
download = True
99100
deps =
100101
-r{toxinidir}/tests/requirements.txt
101102
attrs21.3: attrs~=21.3.0
@@ -131,13 +132,11 @@ setenv =
131132
PIP_DISABLE_PIP_VERSION_CHECK=1
132133

133134
[testenv:py313]
134-
download = True
135135
setenv =
136136
PYTHONDEVMODE=1
137137
PIP_DISABLE_PIP_VERSION_CHECK=1
138138

139139
[testenv:py312]
140-
download = True
141140
setenv =
142141
PYTHONDEVMODE=1
143142
PIP_DISABLE_PIP_VERSION_CHECK=1
@@ -295,37 +294,31 @@ toplevel = attr_utils
295294
package = attr_utils
296295
297296
[testenv:py312-attrs{21.3,21.4,22.2,23.1,23.2,24.2,25.1,25.3,latest}]
298-
download = True
299297
setenv =
300298
PYTHONDEVMODE=1
301299
PIP_DISABLE_PIP_VERSION_CHECK=1
302300
303301
[testenv:py312-mypy{0.900,0.910,0.921,0.931,1.0.1,1.2.0,1.4.1,1.6.1,latest}]
304-
download = True
305302
setenv =
306303
PYTHONDEVMODE=1
307304
PIP_DISABLE_PIP_VERSION_CHECK=1
308305
309306
[testenv:py312-sphinx{4,5,6,7}]
310-
download = True
311307
setenv =
312308
PYTHONDEVMODE=1
313309
PIP_DISABLE_PIP_VERSION_CHECK=1
314310
315311
[testenv:py313-attrs{21.3,21.4,22.2,23.1,23.2,24.2,25.1,25.3,latest}]
316-
download = True
317312
setenv =
318313
PYTHONDEVMODE=1
319314
PIP_DISABLE_PIP_VERSION_CHECK=1
320315
321316
[testenv:py313-mypy{0.900,0.910,0.921,0.931,1.0.1,1.2.0,1.4.1,1.6.1,latest}]
322-
download = True
323317
setenv =
324318
PYTHONDEVMODE=1
325319
PIP_DISABLE_PIP_VERSION_CHECK=1
326320
327321
[testenv:py313-sphinx{4,5,6,7}]
328-
download = True
329322
setenv =
330323
PYTHONDEVMODE=1
331324
PIP_DISABLE_PIP_VERSION_CHECK=1

0 commit comments

Comments
 (0)