File tree Expand file tree Collapse file tree 8 files changed +18
-15
lines changed
Expand file tree Collapse file tree 8 files changed +18
-15
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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'
Original file line number Diff line number Diff line change 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 :
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 : |
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ permissions:
1818
1919jobs :
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'
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 11default-values >= 0.6.0
2+ docutils < 0.22
23extras-require >= 0.5.0
34furo == 2021.06.18b36
45html-section >= 0.3.0
6+ roman >= 4.0
57seed-intersphinx-mapping >= 1.2.2
68sphinx >= 3.0.3
79sphinx-copybutton >= 0.2.12
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ autodoc_exclude_members = [
111111]
112112
113113[tool .mypy ]
114- python_version = " 3.8 "
114+ python_version = " 3.9 "
115115namespace_packages = true
116116check_untyped_defs = true
117117warn_unused_ignores = true
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ setenv =
5050[testenv:docs]
5151setenv = SHOW_TODOS = 1
5252passenv = SPHINX_BUILDER
53- basepython = python3.8
53+ basepython = python3.9
5454changedir = {toxinidir}/doc-source
5555deps = -r{toxinidir}/doc-source/requirements.txt
5656commands = 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
7878changedir = {toxinidir}
7979ignore_errors = True
8080skip_install = True
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 =
104105commands = python3 -m flake8_rst_docstrings_sphinx contributing --allow-toolbox {posargs}
105106
106107[testenv:perflint]
107- basepython = python3.8
108+ basepython = python3.9
108109changedir = {toxinidir}
109110ignore_errors = True
110111skip_install = True
111112deps = perflint
112113commands = python3 -m perflint contributing {posargs}
113114
114115[testenv:mypy]
115- basepython = python3.8
116+ basepython = python3.9
116117ignore_errors = True
117118changedir = {toxinidir}
118- deps = mypy ==0.971
119+ deps = mypy ==1.17.1
119120commands = mypy contributing {posargs}
120121
121122[testenv:pyup]
122- basepython = python3.8
123+ basepython = python3.9
123124skip_install = True
124125ignore_errors = True
125126changedir = {toxinidir}
You can’t perform that action at this time.
0 commit comments