Skip to content

Commit 92c12f4

Browse files
Updated files with 'repo_helper'.
1 parent b085530 commit 92c12f4

File tree

9 files changed

+28
-25
lines changed

9 files changed

+28
-25
lines changed

.github/workflows/flake8.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
if: steps.changes.outputs.code == 'true'
3636
uses: "actions/setup-python@v5"
3737
with:
38-
python-version: "3.8"
38+
python-version: "3.9"
3939

4040
- name: Install dependencies 🔧
4141
if: steps.changes.outputs.code == 'true'

.github/workflows/mypy.yml

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

2121
strategy:
2222
matrix:
23-
os: ['ubuntu-22.04', 'windows-2019']
23+
os: ['ubuntu-22.04', 'windows-2022']
2424
fail-fast: false
2525

2626
steps:
@@ -40,7 +40,7 @@ jobs:
4040
if: steps.changes.outputs.code == 'true'
4141
uses: "actions/setup-python@v5"
4242
with:
43-
python-version: "3.8"
43+
python-version: "3.9"
4444

4545
- name: Install dependencies 🔧
4646
run: |

.github/workflows/octocheese.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
schedule:
77
- cron: 0 12 * * *
88

9+
permissions:
10+
contents: write
11+
912
jobs:
1013
Run:
1114
runs-on: ubuntu-latest

.github/workflows/python_ci.yml

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

1919
jobs:
2020
tests:
21-
name: "windows-2019 / Python ${{ matrix.config.python-version }}"
22-
runs-on: "windows-2019"
21+
name: "windows-2022 / Python ${{ matrix.config.python-version }}"
22+
runs-on: "windows-2022"
2323
continue-on-error: ${{ matrix.config.experimental }}
2424
env:
2525
USING_COVERAGE: '3.10,3.11,3.12,3.13,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'
@@ -31,11 +31,11 @@ jobs:
3131
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
3232
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
3333
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
34-
- {python-version: "3.13", testenvs: "py313-dev,build", experimental: True}
34+
- {python-version: "3.13", testenvs: "py313,build", experimental: False}
3535
- {python-version: "pypy-3.6", testenvs: "pypy36", experimental: False}
3636
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False}
37-
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: False}
38-
- {python-version: "pypy-3.9-v7.3.15", testenvs: "pypy39,build", experimental: True}
37+
- {python-version: "pypy-3.8", testenvs: "pypy38", experimental: False}
38+
- {python-version: "pypy-3.9-v7.3.15", testenvs: "pypy39", experimental: True}
3939

4040
steps:
4141
- name: Checkout 🛎️

.github/workflows/python_ci_linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
3333
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
3434
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
35-
- {python-version: "3.13", testenvs: "py313-dev,build", experimental: True}
35+
- {python-version: "3.13", testenvs: "py313,build", experimental: False}
3636
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False}
3737
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: False}
3838
- {python-version: "pypy-3.9", testenvs: "pypy39,build", experimental: True}
@@ -101,7 +101,7 @@ jobs:
101101
102102
- name: Upload distribution to PyPI 🚀
103103
if: startsWith(github.ref, 'refs/tags/')
104-
uses: pypa/gh-action-pypi-publish@v1.4.2
104+
uses: pypa/gh-action-pypi-publish@v1.13.0
105105
with:
106106
user: __token__
107107
password: ${{ secrets.PYPI_TOKEN }}

.github/workflows/python_ci_macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ jobs:
3131
- {python-version: "3.10", os-ver: "14", testenvs: "py310,build", experimental: False}
3232
- {python-version: "3.11", os-ver: "14", testenvs: "py311,build", experimental: False}
3333
- {python-version: "3.12", os-ver: "14", testenvs: "py312,build", experimental: False}
34-
- {python-version: "3.13", os-ver: "14", testenvs: "py313-dev,build", experimental: True}
35-
- {python-version: "pypy-3.7", os-ver: "13", testenvs: "pypy37,build", experimental: False}
34+
- {python-version: "3.13", os-ver: "14", testenvs: "py313,build", experimental: False}
35+
- {python-version: "pypy-3.7", os-ver: "15-intel", testenvs: "pypy37,build", experimental: False}
3636
- {python-version: "pypy-3.8", os-ver: "14", testenvs: "pypy38,build", experimental: False}
3737
- {python-version: "pypy-3.9", os-ver: "14", testenvs: "pypy39,build", experimental: True}
3838

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ repos:
4343
- id: bind-requirements
4444

4545
- repo: https://github.com/python-formate/flake8-dunder-all
46-
rev: v0.4.1
46+
rev: v0.5.0
4747
hooks:
4848
- id: ensure-dunder-all
4949
files: ^pytest_mypy_plugins_shim/.*\.py$
@@ -62,7 +62,7 @@ repos:
6262
- id: rst-inline-touching-normal
6363

6464
- repo: https://github.com/asottile/pyupgrade
65-
rev: v2.12.0
65+
rev: v3.3.0
6666
hooks:
6767
- id: pyupgrade
6868
args:

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ always = [ "pytest_mypy_plugins_shim",]
3030

3131
[tool.whey]
3232
base-classifiers = []
33-
python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12",]
33+
python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13",]
3434
python-implementations = [ "CPython", "PyPy",]
3535
platforms = [ "Windows", "macOS", "Linux",]
3636
license-key = "MIT"
3737
package = "pytest_mypy_plugins_shim"
3838

3939
[tool.mypy]
40-
python_version = "3.8"
40+
python_version = "3.9"
4141
namespace_packages = true
4242
check_untyped_defs = true
4343
warn_unused_ignores = true

tox.ini

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ envlist =
2323
py310
2424
py311
2525
py312
26-
py313-dev
26+
py313
2727
pypy36
2828
pypy37
2929
pypy38
@@ -39,7 +39,7 @@ requires =
3939
virtualenv!=20.16.0
4040

4141
[envlists]
42-
test = py310, py311, py312, py313-dev, pypy36, pypy37, pypy38, pypy39
42+
test = py310, py311, py312, py313, pypy36, pypy37, pypy38, pypy39
4343
qa = mypy, lint
4444

4545
[testenv]
@@ -57,12 +57,11 @@ setenv =
5757
PYTHONDEVMODE=1
5858
PIP_DISABLE_PIP_VERSION_CHECK=1
5959

60-
[testenv:py313-dev]
60+
[testenv:py313]
6161
download = True
6262
setenv =
6363
PYTHONDEVMODE=1
6464
PIP_DISABLE_PIP_VERSION_CHECK=1
65-
UNSAFE_PYO3_SKIP_VERSION_CHECK=1
6665

6766
[testenv:py312]
6867
download = True
@@ -89,7 +88,7 @@ commands =
8988
check-wheel-contents dist/
9089

9190
[testenv:lint]
92-
basepython = python3.8
91+
basepython = python3.9
9392
changedir = {toxinidir}
9493
ignore_errors = True
9594
skip_install = True
@@ -109,6 +108,7 @@ deps =
109108
flake8-sphinx-links>=0.0.4
110109
flake8-strftime>=0.1.1
111110
flake8-typing-imports>=1.10.0
111+
git+https://github.com/domdfcoding/restructuredtext-lint.git@fix-deprecations
112112
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git
113113
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
114114
git+https://github.com/python-formate/flake8-unused-arguments.git@magic-methods
@@ -119,22 +119,22 @@ deps =
119119
commands = python3 -m flake8_rst_docstrings_sphinx pytest_mypy_plugins_shim --allow-toolbox {posargs}
120120

121121
[testenv:perflint]
122-
basepython = python3.8
122+
basepython = python3.9
123123
changedir = {toxinidir}
124124
ignore_errors = True
125125
skip_install = True
126126
deps = perflint
127127
commands = python3 -m perflint pytest_mypy_plugins_shim {posargs}
128128

129129
[testenv:mypy]
130-
basepython = python3.8
130+
basepython = python3.9
131131
ignore_errors = True
132132
changedir = {toxinidir}
133-
deps = mypy==0.971
133+
deps = mypy==1.17.1
134134
commands = mypy pytest_mypy_plugins_shim {posargs}
135135

136136
[testenv:pyup]
137-
basepython = python3.8
137+
basepython = python3.9
138138
skip_install = True
139139
ignore_errors = True
140140
changedir = {toxinidir}

0 commit comments

Comments
 (0)