Skip to content

Commit 0de0cf5

Browse files
Updated files with 'repo_helper'. (#62)
Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com>
1 parent 705ed8f commit 0de0cf5

File tree

10 files changed

+27
-22
lines changed

10 files changed

+27
-22
lines changed

.github/workflows/docs_test_action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- '!tests/**'
3030
3131
- name: Install and Build 🔧
32-
uses: sphinx-toolbox/sphinx-action@sphinx-3.3.1
32+
uses: sphinx-toolbox/sphinx-action@sphinx-3.3.1-py39
3333
if: steps.changes.outputs.code == 'true'
3434
with:
3535
pre-build-command: python -m pip install tox

.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.7,3.8,3.9,3.10,3.11,3.12,3.13,pypy-3.7,pypy-3.8,pypy-3.9'
@@ -36,8 +36,8 @@ jobs:
3636
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
3737
- {python-version: "3.13", testenvs: "py313,build", experimental: False}
3838
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False}
39-
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: False}
40-
- {python-version: "pypy-3.9-v7.3.15", testenvs: "pypy39,build", experimental: True}
39+
- {python-version: "pypy-3.8", testenvs: "pypy38", experimental: False}
40+
- {python-version: "pypy-3.9-v7.3.15", testenvs: "pypy39", experimental: True}
4141

4242
steps:
4343
- name: Checkout 🛎️

.github/workflows/python_ci_linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ jobs:
161161
162162
- name: Upload distribution to PyPI 🚀
163163
if: startsWith(github.ref, 'refs/tags/')
164-
uses: pypa/gh-action-pypi-publish@v1.4.2
164+
uses: pypa/gh-action-pypi-publish@v1.13.0
165165
with:
166166
user: __token__
167167
password: ${{ secrets.PYPI_TOKEN }}

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ 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:
69-
- --py36-plus
69+
- --py37-plus
7070
- --keep-runtime-typing
7171

7272
- repo: https://github.com/Lucas-C/pre-commit-hooks

doc-source/requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
attr-utils>=0.5.5
22
default-values>=0.6.0
3+
docutils<0.22
34
domdf-sphinx-theme>=0.3.0
45
extras-require>=0.5.0
56
html-section>=0.3.0
67
pygments<=2.13.0,>=2.7.4
8+
roman>=4.0
79
seed-intersphinx-mapping>=1.2.2
810
sphinx>=3.0.3
911
sphinx-copybutton>=0.2.12

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ autodoc_exclude_members = [
122122
]
123123

124124
[tool.mypy]
125-
python_version = "3.8"
125+
python_version = "3.9"
126126
namespace_packages = true
127127
check_untyped_defs = true
128128
warn_unused_ignores = true

tox.ini

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ requires =
4646
[envlists]
4747
test = py37, py38, py39, py310, py311, py312, py313, pypy37, pypy38, pypy39
4848
qa = mypy, lint
49-
cov = py38, coverage
49+
cov = py39, coverage
5050

5151
[testenv]
5252
setenv =
@@ -68,7 +68,6 @@ download = True
6868
setenv =
6969
PYTHONDEVMODE=1
7070
PIP_DISABLE_PIP_VERSION_CHECK=1
71-
UNSAFE_PYO3_SKIP_VERSION_CHECK=1
7271

7372
[testenv:py312]
7473
download = True
@@ -79,7 +78,7 @@ setenv =
7978
[testenv:docs]
8079
setenv = SHOW_TODOS = 1
8180
passenv = SPHINX_BUILDER
82-
basepython = python3.8
81+
basepython = python3.9
8382
changedir = {toxinidir}/doc-source
8483
deps = -r{toxinidir}/doc-source/requirements.txt
8584
commands = sphinx-build -M {env:SPHINX_BUILDER:html} . ./build {posargs}
@@ -103,7 +102,7 @@ commands =
103102
check-wheel-contents dist/
104103

105104
[testenv:lint]
106-
basepython = python3.8
105+
basepython = python3.9
107106
changedir = {toxinidir}
108107
ignore_errors = True
109108
skip_install = True
@@ -123,43 +122,44 @@ deps =
123122
flake8-sphinx-links>=0.0.4
124123
flake8-strftime>=0.1.1
125124
flake8-typing-imports>=1.10.0
125+
git+https://github.com/domdfcoding/restructuredtext-lint.git@fix-deprecations
126126
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git
127127
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
128128
git+https://github.com/python-formate/flake8-unused-arguments.git@magic-methods
129129
git+https://github.com/python-formate/flake8-missing-annotations.git
130-
pydocstyle>=6.0.0
130+
git+https://github.com/domdfcoding/pydocstyle.git@stub-functions
131131
pygments>=2.7.1
132132
importlib_metadata<4.5.0; python_version<'3.8'
133133
commands = python3 -m flake8_rst_docstrings_sphinx git_toggle tests --allow-toolbox {posargs}
134134

135135
[testenv:perflint]
136-
basepython = python3.8
136+
basepython = python3.9
137137
changedir = {toxinidir}
138138
ignore_errors = True
139139
skip_install = True
140140
deps = perflint
141141
commands = python3 -m perflint git_toggle {posargs}
142142

143143
[testenv:mypy]
144-
basepython = python3.8
144+
basepython = python3.9
145145
ignore_errors = True
146146
changedir = {toxinidir}
147147
deps =
148-
mypy==0.971
148+
mypy==1.17.1
149149
-r{toxinidir}/tests/requirements.txt
150150
-r{toxinidir}/stubs.txt
151151
commands = mypy git_toggle tests {posargs}
152152

153153
[testenv:pyup]
154-
basepython = python3.8
154+
basepython = python3.9
155155
skip_install = True
156156
ignore_errors = True
157157
changedir = {toxinidir}
158158
deps = pyupgrade-directories
159159
commands = pyup_dirs git_toggle tests --py36-plus --recursive
160160

161161
[testenv:coverage]
162-
basepython = python3.8
162+
basepython = python3.9
163163
skip_install = True
164164
ignore_errors = True
165165
whitelist_externals = /bin/bash

0 commit comments

Comments
 (0)