Skip to content

Commit be2cf36

Browse files
Updated files with 'repo_helper'. (#66)
Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com>
1 parent 479dad3 commit be2cf36

File tree

7 files changed

+18
-16
lines changed

7 files changed

+18
-16
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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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: |

.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,8 +1,10 @@
11
git+https://github.com/domdfcoding/sphinx-click.git
22
default-values>=0.6.0
3+
docutils<0.22
34
extras-require>=0.5.0
45
furo==2021.06.18b36
56
html-section>=0.3.0
7+
roman>=4.0
68
seed-intersphinx-mapping>=1.2.2
79
sphinx>=3.0.3
810
sphinx-copybutton>=0.2.12

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ autodoc_exclude_members = [
115115
]
116116

117117
[tool.mypy]
118-
python_version = "3.8"
118+
python_version = "3.9"
119119
namespace_packages = true
120120
check_untyped_defs = true
121121
warn_unused_ignores = true

tox.ini

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ requires =
3434
[envlists]
3535
test = py37, py38, py39, py310, py311, py312, py313, pypy37
3636
qa = mypy, lint
37-
cov = py38, coverage
37+
cov = py39, coverage
3838

3939
[testenv]
4040
setenv =
@@ -56,7 +56,6 @@ download = True
5656
setenv =
5757
PYTHONDEVMODE=1
5858
PIP_DISABLE_PIP_VERSION_CHECK=1
59-
UNSAFE_PYO3_SKIP_VERSION_CHECK=1
6059

6160
[testenv:py312]
6261
download = True
@@ -67,7 +66,7 @@ setenv =
6766
[testenv:docs]
6867
setenv = SHOW_TODOS = 1
6968
passenv = SPHINX_BUILDER
70-
basepython = python3.8
69+
basepython = python3.9
7170
changedir = {toxinidir}/doc-source
7271
deps = -r{toxinidir}/doc-source/requirements.txt
7372
commands = sphinx-build -M {env:SPHINX_BUILDER:html} . ./build {posargs}
@@ -91,7 +90,7 @@ commands =
9190
check-wheel-contents dist/
9291

9392
[testenv:lint]
94-
basepython = python3.8
93+
basepython = python3.9
9594
changedir = {toxinidir}
9695
ignore_errors = True
9796
skip_install = True
@@ -111,42 +110,43 @@ deps =
111110
flake8-sphinx-links>=0.0.4
112111
flake8-strftime>=0.1.1
113112
flake8-typing-imports>=1.10.0
113+
git+https://github.com/domdfcoding/restructuredtext-lint.git@fix-deprecations
114114
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git
115115
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
116116
git+https://github.com/python-formate/flake8-unused-arguments.git@magic-methods
117117
git+https://github.com/python-formate/flake8-missing-annotations.git
118-
pydocstyle>=6.0.0
118+
git+https://github.com/domdfcoding/pydocstyle.git@stub-functions
119119
pygments>=2.7.1
120120
importlib_metadata<4.5.0; python_version<'3.8'
121121
commands = python3 -m flake8_rst_docstrings_sphinx greppy tests --allow-toolbox {posargs}
122122

123123
[testenv:perflint]
124-
basepython = python3.8
124+
basepython = python3.9
125125
changedir = {toxinidir}
126126
ignore_errors = True
127127
skip_install = True
128128
deps = perflint
129129
commands = python3 -m perflint greppy {posargs}
130130

131131
[testenv:mypy]
132-
basepython = python3.8
132+
basepython = python3.9
133133
ignore_errors = True
134134
changedir = {toxinidir}
135135
deps =
136-
mypy==0.971
136+
mypy==1.17.1
137137
-r{toxinidir}/tests/requirements.txt
138138
commands = mypy greppy tests {posargs}
139139

140140
[testenv:pyup]
141-
basepython = python3.8
141+
basepython = python3.9
142142
skip_install = True
143143
ignore_errors = True
144144
changedir = {toxinidir}
145145
deps = pyupgrade-directories
146146
commands = pyup_dirs greppy tests --py36-plus --recursive
147147

148148
[testenv:coverage]
149-
basepython = python3.8
149+
basepython = python3.9
150150
skip_install = True
151151
ignore_errors = True
152152
whitelist_externals = /bin/bash

0 commit comments

Comments
 (0)