Skip to content

Commit c48708f

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

File tree

7 files changed

+15
-14
lines changed

7 files changed

+15
-14
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/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.7,3.8,3.9,3.10,3.11'

.github/workflows/python_ci_macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
fail-fast: False
2929
matrix:
3030
config:
31-
- {python-version: "3.7", os-ver: "13", testenvs: "py37-sphinx{3.2,3.3,3.4},build", experimental: False}
31+
- {python-version: "3.7", os-ver: "15-intel", testenvs: "py37-sphinx{3.2,3.3,3.4},build", experimental: False}
3232
- {python-version: "3.8", os-ver: "14", testenvs: "py38-sphinx{3.2,3.3,3.4},build", experimental: False}
3333
- {python-version: "3.9", os-ver: "14", testenvs: "py39-sphinx{3.2,3.3,3.4},build", experimental: False}
3434
- {python-version: "3.10", os-ver: "14", testenvs: "py310-sphinx{3.2,3.3,3.4},build", experimental: False}

.pre-commit-config.yaml

Lines changed: 3 additions & 3 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: ^sphinx_toolbox_experimental/.*\.py$
@@ -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

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ always = [
5757
allowed_unused = [ "sphinx_packaging", "html_section",]
5858

5959
[tool.mypy]
60-
python_version = "3.8"
60+
python_version = "3.9"
6161
namespace_packages = true
6262
check_untyped_defs = true
6363
warn_unused_ignores = true

tox.ini

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ commands =
6868
check-wheel-contents dist/
6969

7070
[testenv:lint]
71-
basepython = python3.8
71+
basepython = python3.9
7272
changedir = {toxinidir}
7373
ignore_errors = True
7474
skip_install = True
@@ -88,6 +88,7 @@ deps =
8888
flake8-sphinx-links>=0.0.4
8989
flake8-strftime>=0.1.1
9090
flake8-typing-imports>=1.10.0
91+
git+https://github.com/domdfcoding/restructuredtext-lint.git@fix-deprecations
9192
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git
9293
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
9394
git+https://github.com/python-formate/flake8-unused-arguments.git@magic-methods
@@ -98,15 +99,15 @@ deps =
9899
commands = python3 -m flake8_rst_docstrings_sphinx sphinx_toolbox_experimental --allow-toolbox {posargs}
99100

100101
[testenv:perflint]
101-
basepython = python3.8
102+
basepython = python3.9
102103
changedir = {toxinidir}
103104
ignore_errors = True
104105
skip_install = True
105106
deps = perflint
106107
commands = python3 -m perflint sphinx_toolbox_experimental {posargs}
107108

108109
[testenv:mypy]
109-
basepython = python3.8
110+
basepython = python3.9
110111
ignore_errors = True
111112
changedir = {toxinidir}
112113
deps =
@@ -115,7 +116,7 @@ deps =
115116
commands = mypy sphinx_toolbox_experimental {posargs}
116117

117118
[testenv:pyup]
118-
basepython = python3.8
119+
basepython = python3.9
119120
skip_install = True
120121
ignore_errors = True
121122
changedir = {toxinidir}

0 commit comments

Comments
 (0)