Skip to content

Commit c6973de

Browse files
Updated files with 'repo_helper'.
1 parent 9a9ca74 commit c6973de

File tree

9 files changed

+25
-22
lines changed

9 files changed

+25
-22
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: 4 additions & 4 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.7,pypy-3.8,pypy-3.9'
@@ -33,8 +33,8 @@ jobs:
3333
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
3434
- {python-version: "3.13", testenvs: "py313,build", experimental: False}
3535
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False}
36-
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: False}
37-
- {python-version: "pypy-3.9-v7.3.15", testenvs: "pypy39,build", experimental: True}
36+
- {python-version: "pypy-3.8", testenvs: "pypy38", experimental: False}
37+
- {python-version: "pypy-3.9-v7.3.15", testenvs: "pypy39", experimental: True}
3838

3939
steps:
4040
- name: Checkout 🛎️

.github/workflows/python_ci_linux.yml

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

2828
strategy:
2929
fail-fast: False
@@ -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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ 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: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,11 @@ setenv =
4747
PYTHONDEVMODE=1
4848
PIP_DISABLE_PIP_VERSION_CHECK=1
4949

50-
[testenv:py313-dev]
50+
[testenv:py313]
5151
download = True
5252
setenv =
5353
PYTHONDEVMODE=1
5454
PIP_DISABLE_PIP_VERSION_CHECK=1
55-
UNSAFE_PYO3_SKIP_VERSION_CHECK=1
5655

5756
[testenv:py312]
5857
download = True
@@ -79,7 +78,7 @@ commands =
7978
check-wheel-contents dist/
8079

8180
[testenv:lint]
82-
basepython = python3.8
81+
basepython = python3.9
8382
changedir = {toxinidir}
8483
ignore_errors = True
8584
skip_install = True
@@ -99,6 +98,7 @@ deps =
9998
flake8-sphinx-links>=0.0.4
10099
flake8-strftime>=0.1.1
101100
flake8-typing-imports>=1.10.0
101+
git+https://github.com/domdfcoding/restructuredtext-lint.git@fix-deprecations
102102
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git
103103
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
104104
git+https://github.com/python-formate/flake8-unused-arguments.git@magic-methods
@@ -109,22 +109,22 @@ deps =
109109
commands = python3 -m flake8_rst_docstrings_sphinx pytest_mypy_plugins_shim --allow-toolbox {posargs}
110110

111111
[testenv:perflint]
112-
basepython = python3.8
112+
basepython = python3.9
113113
changedir = {toxinidir}
114114
ignore_errors = True
115115
skip_install = True
116116
deps = perflint
117117
commands = python3 -m perflint pytest_mypy_plugins_shim {posargs}
118118

119119
[testenv:mypy]
120-
basepython = python3.8
120+
basepython = python3.9
121121
ignore_errors = True
122122
changedir = {toxinidir}
123-
deps = mypy==0.971
123+
deps = mypy==1.17.1
124124
commands = mypy pytest_mypy_plugins_shim {posargs}
125125

126126
[testenv:pyup]
127-
basepython = python3.8
127+
basepython = python3.9
128128
skip_install = True
129129
ignore_errors = True
130130
changedir = {toxinidir}

0 commit comments

Comments
 (0)