File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
2222 uses : dorny/paths-filter@v2
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 3535
3636 steps :
3737 - name : Checkout 🛎️
38- uses : " actions/checkout@v4 "
38+ uses : " actions/checkout@v6 "
3939
4040 - name : Check for changed files
4141 if : startsWith(github.ref, 'refs/tags/') != true
5050 - name : Setup Python 🐍
5151 id : setup-python
5252 if : ${{ steps.changes.outputs.code == 'true' || steps.changes.outcome == 'skipped' }}
53- uses : " actions/setup-python@v5 "
53+ uses : " actions/setup-python@v6 "
5454 with :
5555 python-version : " ${{ matrix.config.python-version }}"
5656
Original file line number Diff line number Diff line change 3636
3737 steps :
3838 - name : Checkout 🛎️
39- uses : " actions/checkout@v4 "
39+ uses : " actions/checkout@v6 "
4040
4141 - name : Check for changed files
4242 if : startsWith(github.ref, 'refs/tags/') != true
5151 - name : Setup Python 🐍
5252 id : setup-python
5353 if : ${{ steps.changes.outputs.code == 'true' || steps.changes.outcome == 'skipped' }}
54- uses : " actions/setup-python@v5 "
54+ uses : " actions/setup-python@v6 "
5555 with :
5656 python-version : " ${{ matrix.config.python-version }}"
5757
@@ -85,10 +85,10 @@ jobs:
8585 runs-on : " ubuntu-22.04"
8686 steps :
8787 - name : Checkout 🛎️
88- uses : " actions/checkout@v4 "
88+ uses : " actions/checkout@v6 "
8989
9090 - name : Setup Python 🐍
91- uses : " actions/setup-python@v5 "
91+ uses : " actions/setup-python@v6 "
9292 with :
9393 python-version : 3.8
9494
@@ -138,11 +138,11 @@ jobs:
138138 runs-on : " ubuntu-22.04"
139139 steps :
140140 - name : Checkout 🛎️
141- uses : " actions/checkout@v4 "
141+ uses : " actions/checkout@v6 "
142142 if : startsWith(github.ref, 'refs/tags/')
143143
144144 - name : Setup Python 🐍
145- uses : " actions/setup-python@v5 "
145+ uses : " actions/setup-python@v6 "
146146 if : startsWith(github.ref, 'refs/tags/')
147147 with :
148148 python-version : 3.8
Original file line number Diff line number Diff line change 3535
3636 steps :
3737 - name : Checkout 🛎️
38- uses : " actions/checkout@v4 "
38+ uses : " actions/checkout@v6 "
3939
4040 - name : Check for changed files
4141 if : startsWith(github.ref, 'refs/tags/') != true
5050 - name : Setup Python 🐍
5151 id : setup-python
5252 if : ${{ steps.changes.outputs.code == 'true' || steps.changes.outcome == 'skipped' }}
53- uses : " actions/setup-python@v5 "
53+ uses : " actions/setup-python@v6 "
5454 with :
5555 python-version : " ${{ matrix.config.python-version }}"
5656
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ exclude: ^$
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,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.8'
4352
4453 - repo : https://github.com/python-formate/flake8-dunder-all
4554 rev : v0.5.0
6069 - id : rst-directive-colons
6170 - id : rst-inline-touching-normal
6271
63- - repo : https://github.com/asottile /pyupgrade
64- rev : v3.3.0
72+ - repo : https://github.com/python-formate /pyupgrade
73+ rev : bbe3007
6574 hooks :
6675 - id : pyupgrade
6776 args :
8089 - id : snippet-fmt
8190
8291 - repo : https://github.com/python-formate/formate
83- rev : v1.2.0
92+ rev : v1.2.1
8493 hooks :
8594 - id : formate
8695 exclude : ^(doc-source/conf|__pkginfo__|setup)\.(_)?py$
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ setenv =
4141 PYTHONDEVMODE =1
4242 PIP_DISABLE_PIP_VERSION_CHECK =1
4343 SETUPTOOLS_USE_DISTUTILS =stdlib
44+ download = True
4445deps = -r{toxinidir}/tests/requirements.txt
4546commands =
4647 python --version
@@ -52,13 +53,11 @@ setenv =
5253 PIP_DISABLE_PIP_VERSION_CHECK =1
5354
5455[testenv:py313]
55- download = True
5656setenv =
5757 PYTHONDEVMODE =1
5858 PIP_DISABLE_PIP_VERSION_CHECK =1
5959
6060[testenv:py312]
61- download = True
6261setenv =
6362 PYTHONDEVMODE =1
6463 PIP_DISABLE_PIP_VERSION_CHECK =1
You can’t perform that action at this time.
0 commit comments