File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919
2020 steps :
2121 - name : Checkout 🛎️
22- uses : " actions/checkout@v4 "
22+ uses : " actions/checkout@v6 "
2323
2424 - name : Check for changed files
2525 uses : dorny/paths-filter@v2
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
Original file line number Diff line number Diff line change 2424
2525 steps :
2626 - name : Checkout 🛎️
27- uses : " actions/checkout@v4 "
27+ uses : " actions/checkout@v6 "
2828
2929 - name : Check for changed files
3030 uses : dorny/paths-filter@v2
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
Original file line number Diff line number Diff line change 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
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
Original file line number Diff line number Diff line change 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
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
Original file line number Diff line number Diff line change 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
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
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ exclude: ^tests/bad_code.py$
55
66ci :
77 autoupdate_schedule : quarterly
8+ skip : [taplo-lint]
89
910repos :
1011 - repo : https://github.com/repo-helper/pyproject-parser
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 :
8389 - id : snippet-fmt
8490
8591 - repo : https://github.com/python-formate/formate
86- rev : v1.2.0
92+ rev : v1.2.1
8793 hooks :
8894 - id : formate
8995 exclude : ^(doc-source/conf|__pkginfo__|setup)\.(_)?py$
Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ setenv =
6262 PYTHONDEVMODE =1
6363 PIP_DISABLE_PIP_VERSION_CHECK =1
6464 SETUPTOOLS_USE_DISTUTILS =stdlib
65+ download = True
6566deps =
6667 -r{toxinidir}/tests/requirements.txt
6768 flake84: flake8~=4.0
@@ -78,13 +79,11 @@ setenv =
7879 PIP_DISABLE_PIP_VERSION_CHECK =1
7980
8081[testenv:py313]
81- download = True
8282setenv =
8383 PYTHONDEVMODE =1
8484 PIP_DISABLE_PIP_VERSION_CHECK =1
8585
8686[testenv:py312]
87- download = True
8887setenv =
8988 PYTHONDEVMODE =1
9089 PIP_DISABLE_PIP_VERSION_CHECK =1
@@ -207,13 +206,11 @@ filterwarnings =
207206 ignore:ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead:DeprecationWarning
208207
209208[testenv:py312-flake8{4,5,6,7}]
210- download = True
211209setenv =
212210 PYTHONDEVMODE=1
213211 PIP_DISABLE_PIP_VERSION_CHECK=1
214212
215213[testenv:py313-flake8{4,5,6,7}]
216- download = True
217214setenv =
218215 PYTHONDEVMODE=1
219216 PIP_DISABLE_PIP_VERSION_CHECK=1
You can’t perform that action at this time.
0 commit comments