Skip to content

Commit 2184b82

Browse files
Updated files with 'repo_helper'.
1 parent 4fbe36a commit 2184b82

File tree

12 files changed

+103
-94
lines changed

12 files changed

+103
-94
lines changed

.dependabot/config.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

.github/dependabot.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ updates:
66
directory: /
77
schedule:
88
interval: weekly
9+
open-pull-requests-limit: 0
910
reviewers:
1011
- domdfcoding

.github/workflows/flake8.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
steps:
2222
- name: Checkout 🛎️
23-
uses: "actions/checkout@v2"
23+
uses: "actions/checkout@v4"
2424

2525
- name: Check for changed files
2626
uses: dorny/paths-filter@v2
@@ -33,7 +33,7 @@ jobs:
3333
3434
- name: Setup Python 🐍
3535
if: steps.changes.outputs.code == 'true'
36-
uses: "actions/setup-python@v2"
36+
uses: "actions/setup-python@v5"
3737
with:
3838
python-version: "3.6"
3939

@@ -43,7 +43,7 @@ jobs:
4343
python -VV
4444
python -m site
4545
python -m pip install --upgrade pip setuptools wheel
46-
python -m pip install tox
46+
python -m pip install tox~=3.0
4747
4848
- name: "Run Flake8"
4949
if: steps.changes.outputs.code == 'true'

.github/workflows/mypy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
steps:
2727
- name: Checkout 🛎️
28-
uses: "actions/checkout@v2"
28+
uses: "actions/checkout@v4"
2929

3030
- name: Check for changed files
3131
uses: dorny/paths-filter@v2
@@ -38,7 +38,7 @@ jobs:
3838
3939
- name: Setup Python 🐍
4040
if: steps.changes.outputs.code == 'true'
41-
uses: "actions/setup-python@v2"
41+
uses: "actions/setup-python@v5"
4242
with:
4343
python-version: "3.6"
4444

@@ -47,7 +47,7 @@ jobs:
4747
python -VV
4848
python -m site
4949
python -m pip install --upgrade pip setuptools wheel
50-
python -m pip install --upgrade tox virtualenv!=20.16.0
50+
python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
5151
5252
- name: "Run mypy"
5353
if: steps.changes.outputs.code == 'true'

.github/workflows/python_ci.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: "windows-2019"
2323
continue-on-error: ${{ matrix.config.experimental }}
2424
env:
25-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11.0-rc.2,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'
25+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'
2626

2727
strategy:
2828
fail-fast: False
@@ -33,15 +33,15 @@ jobs:
3333
- {python-version: "3.8", testenvs: "py38-pyupgrade{2.5,2.6,2.7,2.8,2.9,2.10,2.11,2.12,2.13,2.14,2.15,2.16,2.17,2.18,2.19,2.20,2.21,2.22,2.23,2.24,2.25,2.26,2.27,2.28,2.29,2.30,2.31,2.32,2.33,2.34,2.35,2.36,2.37,latest},build", experimental: False}
3434
- {python-version: "3.9", testenvs: "py39-pyupgrade{2.5,2.6,2.7,2.8,2.9,2.10,2.11,2.12,2.13,2.14,2.15,2.16,2.17,2.18,2.19,2.20,2.21,2.22,2.23,2.24,2.25,2.26,2.27,2.28,2.29,2.30,2.31,2.32,2.33,2.34,2.35,2.36,2.37,latest},build", experimental: False}
3535
- {python-version: "3.10", testenvs: "py310-pyupgrade{2.5,2.6,2.7,2.8,2.9,2.10,2.11,2.12,2.13,2.14,2.15,2.16,2.17,2.18,2.19,2.20,2.21,2.22,2.23,2.24,2.25,2.26,2.27,2.28,2.29,2.30,2.31,2.32,2.33,2.34,2.35,2.36,2.37,latest},build", experimental: False}
36-
- {python-version: "3.11.0-rc.2", testenvs: "py311-dev-pyupgrade{2.5,2.6,2.7,2.8,2.9,2.10,2.11,2.12,2.13,2.14,2.15,2.16,2.17,2.18,2.19,2.20,2.21,2.22,2.23,2.24,2.25,2.26,2.27,2.28,2.29,2.30,2.31,2.32,2.33,2.34,2.35,2.36,2.37,latest},build", experimental: True}
37-
- {python-version: "pypy-3.6", testenvs: "pypy36-pyupgrade{2.5,2.6,2.7,2.8,2.9,2.10,2.11,2.12,2.13,2.14,2.15,2.16,2.17,2.18,2.19,2.20,2.21,2.22,2.23,2.24,2.25,2.26,2.27,2.28,2.29,2.30,2.31,latest},build", experimental: False}
38-
- {python-version: "pypy-3.7", testenvs: "pypy37-pyupgrade{2.5,2.6,2.7,2.8,2.9,2.10,2.11,2.12,2.13,2.14,2.15,2.16,2.17,2.18,2.19,2.20,2.21,2.22,2.23,2.24,2.25,2.26,2.27,2.28,2.29,2.30,2.31,2.32,2.33,2.34,2.35,2.36,2.37,latest},build", experimental: True}
39-
- {python-version: "pypy-3.8", testenvs: "pypy38-pyupgrade{2.5,2.6,2.7,2.8,2.9,2.10,2.11,2.12,2.13,2.14,2.15,2.16,2.17,2.18,2.19,2.20,2.21,2.22,2.23,2.24,2.25,2.26,2.27,2.28,2.29,2.30,2.31,2.32,2.33,2.34,2.35,2.36,2.37,latest},build", experimental: True}
40-
- {python-version: "pypy-3.9", testenvs: "pypy39-pyupgrade{2.5,2.6,2.7,2.8,2.9,2.10,2.11,2.12,2.13,2.14,2.15,2.16,2.17,2.18,2.19,2.20,2.21,2.22,2.23,2.24,2.25,2.26,2.27,2.28,2.29,2.30,2.31,2.32,2.33,2.34,2.35,2.36,2.37,latest}", experimental: True}
36+
- {python-version: "3.11", testenvs: "py311-dev-pyupgrade{2.5,2.6,2.7,2.8,2.9,2.10,2.11,2.12,2.13,2.14,2.15,2.16,2.17,2.18,2.19,2.20,2.21,2.22,2.23,2.24,2.25,2.26,2.27,2.28,2.29,2.30,2.31,2.32,2.33,2.34,2.35,2.36,2.37,latest},build", experimental: True}
37+
- {python-version: "pypy-3.6", testenvs: "pypy36-pyupgrade{2.5,2.6,2.7,2.8,2.9,2.10,2.11,2.12,2.13,2.14,2.15,2.16,2.17,2.18,2.19,2.20,2.21,2.22,2.23,2.24,2.25,2.26,2.27,2.28,2.29,2.30,2.31,latest}", experimental: False}
38+
- {python-version: "pypy-3.7", testenvs: "pypy37-pyupgrade{2.5,2.6,2.7,2.8,2.9,2.10,2.11,2.12,2.13,2.14,2.15,2.16,2.17,2.18,2.19,2.20,2.21,2.22,2.23,2.24,2.25,2.26,2.27,2.28,2.29,2.30,2.31,2.32,2.33,2.34,2.35,2.36,2.37,latest},build", experimental: False}
39+
- {python-version: "pypy-3.8", testenvs: "pypy38-pyupgrade{2.5,2.6,2.7,2.8,2.9,2.10,2.11,2.12,2.13,2.14,2.15,2.16,2.17,2.18,2.19,2.20,2.21,2.22,2.23,2.24,2.25,2.26,2.27,2.28,2.29,2.30,2.31,2.32,2.33,2.34,2.35,2.36,2.37,latest},build", experimental: False}
40+
- {python-version: "pypy-3.9-v7.3.15", testenvs: "pypy39-pyupgrade{2.5,2.6,2.7,2.8,2.9,2.10,2.11,2.12,2.13,2.14,2.15,2.16,2.17,2.18,2.19,2.20,2.21,2.22,2.23,2.24,2.25,2.26,2.27,2.28,2.29,2.30,2.31,2.32,2.33,2.34,2.35,2.36,2.37,latest},build", experimental: True}
4141

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

4646
- name: Check for changed files
4747
if: startsWith(github.ref, 'refs/tags/') != true
@@ -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@v2"
59+
uses: "actions/setup-python@v5"
6060
with:
6161
python-version: "${{ matrix.config.python-version }}"
6262

@@ -66,14 +66,14 @@ jobs:
6666
python -VV
6767
python -m site
6868
python -m pip install --upgrade pip setuptools wheel
69-
python -m pip install --upgrade tox virtualenv!=20.16.0
69+
python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
7070
7171
- name: "Run Tests for Python ${{ matrix.config.python-version }}"
7272
if: steps.setup-python.outcome == 'success'
7373
run: python -m tox -e "${{ matrix.config.testenvs }}" -s false
7474

7575
- name: "Upload Coverage 🚀"
76-
uses: actions/upload-artifact@v2
76+
uses: actions/upload-artifact@v4
7777
if: ${{ always() && steps.setup-python.outcome == 'success' }}
7878
with:
7979
name: "coverage-${{ matrix.config.python-version }}"

.github/workflows/python_ci_linux.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: "ubuntu-20.04"
2424
continue-on-error: ${{ matrix.config.experimental }}
2525
env:
26-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11.0-rc.2,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'
26+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'
2727

2828
strategy:
2929
fail-fast: False
@@ -34,15 +34,15 @@ jobs:
3434
- {python-version: "3.8", testenvs: "py38-pyupgrade{2.5,2.6,2.7,2.8,2.9,2.10,2.11,2.12,2.13,2.14,2.15,2.16,2.17,2.18,2.19,2.20,2.21,2.22,2.23,2.24,2.25,2.26,2.27,2.28,2.29,2.30,2.31,2.32,2.33,2.34,2.35,2.36,2.37,latest},build", experimental: False}
3535
- {python-version: "3.9", testenvs: "py39-pyupgrade{2.5,2.6,2.7,2.8,2.9,2.10,2.11,2.12,2.13,2.14,2.15,2.16,2.17,2.18,2.19,2.20,2.21,2.22,2.23,2.24,2.25,2.26,2.27,2.28,2.29,2.30,2.31,2.32,2.33,2.34,2.35,2.36,2.37,latest},build", experimental: False}
3636
- {python-version: "3.10", testenvs: "py310-pyupgrade{2.5,2.6,2.7,2.8,2.9,2.10,2.11,2.12,2.13,2.14,2.15,2.16,2.17,2.18,2.19,2.20,2.21,2.22,2.23,2.24,2.25,2.26,2.27,2.28,2.29,2.30,2.31,2.32,2.33,2.34,2.35,2.36,2.37,latest},build", experimental: False}
37-
- {python-version: "3.11.0-rc.2", testenvs: "py311-dev-pyupgrade{2.5,2.6,2.7,2.8,2.9,2.10,2.11,2.12,2.13,2.14,2.15,2.16,2.17,2.18,2.19,2.20,2.21,2.22,2.23,2.24,2.25,2.26,2.27,2.28,2.29,2.30,2.31,2.32,2.33,2.34,2.35,2.36,2.37,latest},build", experimental: True}
37+
- {python-version: "3.11", testenvs: "py311-dev-pyupgrade{2.5,2.6,2.7,2.8,2.9,2.10,2.11,2.12,2.13,2.14,2.15,2.16,2.17,2.18,2.19,2.20,2.21,2.22,2.23,2.24,2.25,2.26,2.27,2.28,2.29,2.30,2.31,2.32,2.33,2.34,2.35,2.36,2.37,latest},build", experimental: True}
3838
- {python-version: "pypy-3.6", testenvs: "pypy36-pyupgrade{2.5,2.6,2.7,2.8,2.9,2.10,2.11,2.12,2.13,2.14,2.15,2.16,2.17,2.18,2.19,2.20,2.21,2.22,2.23,2.24,2.25,2.26,2.27,2.28,2.29,2.30,2.31,latest},build", experimental: False}
39-
- {python-version: "pypy-3.7", testenvs: "pypy37-pyupgrade{2.5,2.6,2.7,2.8,2.9,2.10,2.11,2.12,2.13,2.14,2.15,2.16,2.17,2.18,2.19,2.20,2.21,2.22,2.23,2.24,2.25,2.26,2.27,2.28,2.29,2.30,2.31,2.32,2.33,2.34,2.35,2.36,2.37,latest},build", experimental: True}
40-
- {python-version: "pypy-3.8", testenvs: "pypy38-pyupgrade{2.5,2.6,2.7,2.8,2.9,2.10,2.11,2.12,2.13,2.14,2.15,2.16,2.17,2.18,2.19,2.20,2.21,2.22,2.23,2.24,2.25,2.26,2.27,2.28,2.29,2.30,2.31,2.32,2.33,2.34,2.35,2.36,2.37,latest},build", experimental: True}
41-
- {python-version: "pypy-3.9", testenvs: "pypy39-pyupgrade{2.5,2.6,2.7,2.8,2.9,2.10,2.11,2.12,2.13,2.14,2.15,2.16,2.17,2.18,2.19,2.20,2.21,2.22,2.23,2.24,2.25,2.26,2.27,2.28,2.29,2.30,2.31,2.32,2.33,2.34,2.35,2.36,2.37,latest}", experimental: True}
39+
- {python-version: "pypy-3.7", testenvs: "pypy37-pyupgrade{2.5,2.6,2.7,2.8,2.9,2.10,2.11,2.12,2.13,2.14,2.15,2.16,2.17,2.18,2.19,2.20,2.21,2.22,2.23,2.24,2.25,2.26,2.27,2.28,2.29,2.30,2.31,2.32,2.33,2.34,2.35,2.36,2.37,latest},build", experimental: False}
40+
- {python-version: "pypy-3.8", testenvs: "pypy38-pyupgrade{2.5,2.6,2.7,2.8,2.9,2.10,2.11,2.12,2.13,2.14,2.15,2.16,2.17,2.18,2.19,2.20,2.21,2.22,2.23,2.24,2.25,2.26,2.27,2.28,2.29,2.30,2.31,2.32,2.33,2.34,2.35,2.36,2.37,latest},build", experimental: False}
41+
- {python-version: "pypy-3.9", testenvs: "pypy39-pyupgrade{2.5,2.6,2.7,2.8,2.9,2.10,2.11,2.12,2.13,2.14,2.15,2.16,2.17,2.18,2.19,2.20,2.21,2.22,2.23,2.24,2.25,2.26,2.27,2.28,2.29,2.30,2.31,2.32,2.33,2.34,2.35,2.36,2.37,latest},build", experimental: True}
4242

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

4747
- name: Check for changed files
4848
if: startsWith(github.ref, 'refs/tags/') != true
@@ -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@v2"
60+
uses: "actions/setup-python@v5"
6161
with:
6262
python-version: "${{ matrix.config.python-version }}"
6363

@@ -67,15 +67,15 @@ jobs:
6767
python -VV
6868
python -m site
6969
python -m pip install --upgrade pip setuptools wheel
70-
python -m pip install --upgrade tox virtualenv!=20.16.0
70+
python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
7171
python -m pip install --upgrade coverage_pyver_pragma
7272
7373
- name: "Run Tests for Python ${{ matrix.config.python-version }}"
7474
if: steps.setup-python.outcome == 'success'
7575
run: python -m tox -e "${{ matrix.config.testenvs }}" -s false
7676

7777
- name: "Upload Coverage 🚀"
78-
uses: actions/upload-artifact@v2
78+
uses: actions/upload-artifact@v4
7979
if: ${{ always() && steps.setup-python.outcome == 'success' }}
8080
with:
8181
name: "coverage-${{ matrix.config.python-version }}"
@@ -87,10 +87,10 @@ jobs:
8787
runs-on: "ubuntu-20.04"
8888
steps:
8989
- name: Checkout 🛎️
90-
uses: "actions/checkout@v2"
90+
uses: "actions/checkout@v4"
9191

9292
- name: Setup Python 🐍
93-
uses: "actions/setup-python@v2"
93+
uses: "actions/setup-python@v5"
9494
with:
9595
python-version: 3.8
9696

@@ -100,7 +100,7 @@ jobs:
100100
python -m pip install --upgrade "coveralls>=3.0.0" coverage_pyver_pragma
101101
102102
- name: "Download Coverage 🪂"
103-
uses: actions/download-artifact@v2
103+
uses: actions/download-artifact@v4
104104
with:
105105
path: coverage
106106

@@ -118,7 +118,7 @@ jobs:
118118
119119
- name: "Upload Combined Coverage Artefact 🚀"
120120
if: ${{ steps.show.outcome != 'failure' }}
121-
uses: actions/upload-artifact@v2
121+
uses: actions/upload-artifact@v4
122122
with:
123123
name: "combined-coverage"
124124
path: .coverage
@@ -136,11 +136,11 @@ jobs:
136136
runs-on: "ubuntu-20.04"
137137
steps:
138138
- name: Checkout 🛎️
139-
uses: "actions/checkout@v2"
139+
uses: "actions/checkout@v4"
140140
if: startsWith(github.ref, 'refs/tags/')
141141

142142
- name: Setup Python 🐍
143-
uses: "actions/setup-python@v2"
143+
uses: "actions/setup-python@v5"
144144
if: startsWith(github.ref, 'refs/tags/')
145145
with:
146146
python-version: 3.8
@@ -149,7 +149,7 @@ jobs:
149149
if: startsWith(github.ref, 'refs/tags/')
150150
run: |
151151
python -m pip install --upgrade pip setuptools wheel
152-
python -m pip install --upgrade tox
152+
python -m pip install --upgrade tox~=3.0
153153
154154
- name: Build distributions 📦
155155
if: startsWith(github.ref, 'refs/tags/')

.github/workflows/python_ci_macos.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ permissions:
1818

1919
jobs:
2020
tests:
21-
name: "macos-latest / Python ${{ matrix.config.python-version }}"
22-
runs-on: "macos-latest"
21+
name: "macos-13 / Python ${{ matrix.config.python-version }}"
22+
runs-on: "macos-13"
2323
continue-on-error: ${{ matrix.config.experimental }}
2424
env:
25-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11.0-rc.2,pypy-3.7,pypy-3.8,pypy-3.9'
25+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,pypy-3.7,pypy-3.8,pypy-3.9'
2626

2727
strategy:
2828
fail-fast: False
@@ -33,14 +33,14 @@ jobs:
3333
- {python-version: "3.8", testenvs: "py38-pyupgrade{2.5,2.6,2.7,2.8,2.9,2.10,2.11,2.12,2.13,2.14,2.15,2.16,2.17,2.18,2.19,2.20,2.21,2.22,2.23,2.24,2.25,2.26,2.27,2.28,2.29,2.30,2.31,2.32,2.33,2.34,2.35,2.36,2.37,latest},build", experimental: False}
3434
- {python-version: "3.9", testenvs: "py39-pyupgrade{2.5,2.6,2.7,2.8,2.9,2.10,2.11,2.12,2.13,2.14,2.15,2.16,2.17,2.18,2.19,2.20,2.21,2.22,2.23,2.24,2.25,2.26,2.27,2.28,2.29,2.30,2.31,2.32,2.33,2.34,2.35,2.36,2.37,latest},build", experimental: False}
3535
- {python-version: "3.10", testenvs: "py310-pyupgrade{2.5,2.6,2.7,2.8,2.9,2.10,2.11,2.12,2.13,2.14,2.15,2.16,2.17,2.18,2.19,2.20,2.21,2.22,2.23,2.24,2.25,2.26,2.27,2.28,2.29,2.30,2.31,2.32,2.33,2.34,2.35,2.36,2.37,latest},build", experimental: False}
36-
- {python-version: "3.11.0-rc.2", testenvs: "py311-dev-pyupgrade{2.5,2.6,2.7,2.8,2.9,2.10,2.11,2.12,2.13,2.14,2.15,2.16,2.17,2.18,2.19,2.20,2.21,2.22,2.23,2.24,2.25,2.26,2.27,2.28,2.29,2.30,2.31,2.32,2.33,2.34,2.35,2.36,2.37,latest},build", experimental: True}
37-
- {python-version: "pypy-3.7", testenvs: "pypy37-pyupgrade{2.5,2.6,2.7,2.8,2.9,2.10,2.11,2.12,2.13,2.14,2.15,2.16,2.17,2.18,2.19,2.20,2.21,2.22,2.23,2.24,2.25,2.26,2.27,2.28,2.29,2.30,2.31,2.32,2.33,2.34,2.35,2.36,2.37,latest},build", experimental: True}
38-
- {python-version: "pypy-3.8", testenvs: "pypy38-pyupgrade{2.5,2.6,2.7,2.8,2.9,2.10,2.11,2.12,2.13,2.14,2.15,2.16,2.17,2.18,2.19,2.20,2.21,2.22,2.23,2.24,2.25,2.26,2.27,2.28,2.29,2.30,2.31,2.32,2.33,2.34,2.35,2.36,2.37,latest},build", experimental: True}
39-
- {python-version: "pypy-3.9", testenvs: "pypy39-pyupgrade{2.5,2.6,2.7,2.8,2.9,2.10,2.11,2.12,2.13,2.14,2.15,2.16,2.17,2.18,2.19,2.20,2.21,2.22,2.23,2.24,2.25,2.26,2.27,2.28,2.29,2.30,2.31,2.32,2.33,2.34,2.35,2.36,2.37,latest}", experimental: True}
36+
- {python-version: "3.11", testenvs: "py311-dev-pyupgrade{2.5,2.6,2.7,2.8,2.9,2.10,2.11,2.12,2.13,2.14,2.15,2.16,2.17,2.18,2.19,2.20,2.21,2.22,2.23,2.24,2.25,2.26,2.27,2.28,2.29,2.30,2.31,2.32,2.33,2.34,2.35,2.36,2.37,latest},build", experimental: True}
37+
- {python-version: "pypy-3.7", testenvs: "pypy37-pyupgrade{2.5,2.6,2.7,2.8,2.9,2.10,2.11,2.12,2.13,2.14,2.15,2.16,2.17,2.18,2.19,2.20,2.21,2.22,2.23,2.24,2.25,2.26,2.27,2.28,2.29,2.30,2.31,2.32,2.33,2.34,2.35,2.36,2.37,latest},build", experimental: False}
38+
- {python-version: "pypy-3.8", testenvs: "pypy38-pyupgrade{2.5,2.6,2.7,2.8,2.9,2.10,2.11,2.12,2.13,2.14,2.15,2.16,2.17,2.18,2.19,2.20,2.21,2.22,2.23,2.24,2.25,2.26,2.27,2.28,2.29,2.30,2.31,2.32,2.33,2.34,2.35,2.36,2.37,latest},build", experimental: False}
39+
- {python-version: "pypy-3.9", testenvs: "pypy39-pyupgrade{2.5,2.6,2.7,2.8,2.9,2.10,2.11,2.12,2.13,2.14,2.15,2.16,2.17,2.18,2.19,2.20,2.21,2.22,2.23,2.24,2.25,2.26,2.27,2.28,2.29,2.30,2.31,2.32,2.33,2.34,2.35,2.36,2.37,latest},build", experimental: True}
4040

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

4545
- name: Check for changed files
4646
if: startsWith(github.ref, 'refs/tags/') != true
@@ -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@v2"
58+
uses: "actions/setup-python@v5"
5959
with:
6060
python-version: "${{ matrix.config.python-version }}"
6161

@@ -65,14 +65,14 @@ jobs:
6565
python -VV
6666
python -m site
6767
python -m pip install --upgrade pip setuptools wheel
68-
python -m pip install --upgrade tox virtualenv!=20.16.0
68+
python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
6969
7070
- name: "Run Tests for Python ${{ matrix.config.python-version }}"
7171
if: steps.setup-python.outcome == 'success'
7272
run: python -m tox -e "${{ matrix.config.testenvs }}" -s false
7373

7474
- name: "Upload Coverage 🚀"
75-
uses: actions/upload-artifact@v2
75+
uses: actions/upload-artifact@v4
7676
if: ${{ always() && steps.setup-python.outcome == 'success' }}
7777
with:
7878
name: "coverage-${{ matrix.config.python-version }}"

.pre-commit-config.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ci:
88

99
repos:
1010
- repo: https://github.com/repo-helper/pyproject-parser
11-
rev: v0.7.0
11+
rev: v0.11.1
1212
hooks:
1313
- id: reformat-pyproject
1414

@@ -42,19 +42,19 @@ repos:
4242
exclude: ^(doc-source/conf|__pkginfo__|setup|tests/.*)\.py$
4343
- id: bind-requirements
4444

45-
- repo: https://github.com/domdfcoding/flake8-dunder-all
46-
rev: v0.2.2
45+
- repo: https://github.com/python-formate/flake8-dunder-all
46+
rev: v0.4.1
4747
hooks:
4848
- id: ensure-dunder-all
4949
files: ^pyupgrade_directories/.*\.py$
5050

5151
- repo: https://github.com/domdfcoding/flake2lint
52-
rev: v0.4.2
52+
rev: v0.4.3
5353
hooks:
5454
- id: flake2lint
5555

5656
- repo: https://github.com/pre-commit/pygrep-hooks
57-
rev: v1.9.0
57+
rev: v1.10.0
5858
hooks:
5959
- id: python-no-eval
6060
- id: rst-backticks
@@ -70,24 +70,24 @@ repos:
7070
- --keep-runtime-typing
7171

7272
- repo: https://github.com/Lucas-C/pre-commit-hooks
73-
rev: v1.3.1
73+
rev: v1.5.1
7474
hooks:
7575
- id: remove-crlf
7676
- id: forbid-crlf
7777

7878
- repo: https://github.com/python-formate/snippet-fmt
79-
rev: v0.1.4
79+
rev: v0.1.5
8080
hooks:
8181
- id: snippet-fmt
8282

8383
- repo: https://github.com/python-formate/formate
84-
rev: v0.4.10
84+
rev: v0.7.0
8585
hooks:
8686
- id: formate
8787
exclude: ^(doc-source/conf|__pkginfo__|setup)\.(_)?py$
8888

89-
- repo: https://github.com/domdfcoding/dep_checker
90-
rev: v0.7.0
89+
- repo: https://github.com/python-coincidence/dep_checker
90+
rev: v0.8.0
9191
hooks:
9292
- id: dep_checker
9393
args:

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ pyupgrade-directories
8989
:target: https://github.com/domdfcoding/pyupgrade-directories/commit/master
9090
:alt: GitHub last commit
9191

92-
.. |maintained| image:: https://img.shields.io/maintenance/yes/2022
92+
.. |maintained| image:: https://img.shields.io/maintenance/yes/2024
9393
:alt: Maintenance
9494

9595
.. |pypi-downloads| image:: https://img.shields.io/pypi/dm/pyupgrade-directories

0 commit comments

Comments
 (0)