Skip to content

Commit 687f961

Browse files
Updated files with 'repo_helper'. (#29)
Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com>
1 parent 763b306 commit 687f961

File tree

8 files changed

+18
-15
lines changed

8 files changed

+18
-15
lines changed

.github/workflows/docs_test_action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
uses: "actions/checkout@v4"
2121

2222
- name: Install and Build 🔧
23-
uses: sphinx-toolbox/[email protected]
23+
uses: sphinx-toolbox/[email protected]-py39
2424

2525
with:
2626
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/python_ci.yml

Lines changed: 2 additions & 2 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.8'

.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+
- --py38-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,7 +1,9 @@
11
default-values>=0.6.0
2+
docutils<0.22
23
extras-require>=0.5.0
34
furo==2021.06.18b36
45
html-section>=0.3.0
6+
roman>=4.0
57
seed-intersphinx-mapping>=1.2.2
68
sphinx>=3.0.3
79
sphinx-copybutton>=0.2.12

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ autodoc_exclude_members = [
111111
]
112112

113113
[tool.mypy]
114-
python_version = "3.8"
114+
python_version = "3.9"
115115
namespace_packages = true
116116
check_untyped_defs = true
117117
warn_unused_ignores = true

tox.ini

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ setenv =
5050
[testenv:docs]
5151
setenv = SHOW_TODOS = 1
5252
passenv = SPHINX_BUILDER
53-
basepython = python3.8
53+
basepython = python3.9
5454
changedir = {toxinidir}/doc-source
5555
deps = -r{toxinidir}/doc-source/requirements.txt
5656
commands = sphinx-build -M {env:SPHINX_BUILDER:html} . ./build {posargs}
@@ -74,7 +74,7 @@ commands =
7474
check-wheel-contents dist/
7575

7676
[testenv:lint]
77-
basepython = python3.8
77+
basepython = python3.9
7878
changedir = {toxinidir}
7979
ignore_errors = True
8080
skip_install = True
@@ -94,6 +94,7 @@ deps =
9494
flake8-sphinx-links>=0.0.4
9595
flake8-strftime>=0.1.1
9696
flake8-typing-imports>=1.10.0
97+
git+https://github.com/domdfcoding/restructuredtext-lint.git@fix-deprecations
9798
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git
9899
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
99100
git+https://github.com/python-formate/flake8-unused-arguments.git@magic-methods
@@ -104,22 +105,22 @@ deps =
104105
commands = python3 -m flake8_rst_docstrings_sphinx contributing --allow-toolbox {posargs}
105106

106107
[testenv:perflint]
107-
basepython = python3.8
108+
basepython = python3.9
108109
changedir = {toxinidir}
109110
ignore_errors = True
110111
skip_install = True
111112
deps = perflint
112113
commands = python3 -m perflint contributing {posargs}
113114

114115
[testenv:mypy]
115-
basepython = python3.8
116+
basepython = python3.9
116117
ignore_errors = True
117118
changedir = {toxinidir}
118-
deps = mypy==0.971
119+
deps = mypy==1.17.1
119120
commands = mypy contributing {posargs}
120121

121122
[testenv:pyup]
122-
basepython = python3.8
123+
basepython = python3.9
123124
skip_install = True
124125
ignore_errors = True
125126
changedir = {toxinidir}

0 commit comments

Comments
 (0)