Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/flake8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
if: steps.changes.outputs.code == 'true'
uses: "actions/setup-python@v5"
with:
python-version: "3.8"
python-version: "3.9"

- name: Install dependencies πŸ”§
if: steps.changes.outputs.code == 'true'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

strategy:
matrix:
os: ['ubuntu-22.04', 'windows-2019']
os: ['ubuntu-22.04', 'windows-2022']
fail-fast: false

steps:
Expand All @@ -40,7 +40,7 @@ jobs:
if: steps.changes.outputs.code == 'true'
uses: "actions/setup-python@v5"
with:
python-version: "3.8"
python-version: "3.9"

- name: Install dependencies πŸ”§
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ permissions:

jobs:
tests:
name: "windows-2019 / Python ${{ matrix.config.python-version }}"
runs-on: "windows-2019"
name: "windows-2022 / Python ${{ matrix.config.python-version }}"
runs-on: "windows-2022"
continue-on-error: ${{ matrix.config.experimental }}
env:
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python_ci_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
fail-fast: False
matrix:
config:
- {python-version: "3.7", os-ver: "13", testenvs: "py37-sphinx{3.2,3.3,3.4},build", experimental: False}
- {python-version: "3.7", os-ver: "15-intel", testenvs: "py37-sphinx{3.2,3.3,3.4},build", experimental: False}
- {python-version: "3.8", os-ver: "14", testenvs: "py38-sphinx{3.2,3.3,3.4},build", experimental: False}
- {python-version: "3.9", os-ver: "14", testenvs: "py39-sphinx{3.2,3.3,3.4},build", experimental: False}
- {python-version: "3.10", os-ver: "14", testenvs: "py310-sphinx{3.2,3.3,3.4},build", experimental: False}
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ repos:
- id: bind-requirements

- repo: https://github.com/python-formate/flake8-dunder-all
rev: v0.4.1
rev: v0.5.0
hooks:
- id: ensure-dunder-all
files: ^sphinx_toolbox_experimental/.*\.py$
Expand All @@ -62,11 +62,11 @@ repos:
- id: rst-inline-touching-normal

- repo: https://github.com/asottile/pyupgrade
rev: v2.12.0
rev: v3.3.0
hooks:
- id: pyupgrade
args:
- --py36-plus
- --py37-plus
- --keep-runtime-typing

- repo: https://github.com/Lucas-C/pre-commit-hooks
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ always = [
allowed_unused = [ "sphinx_packaging", "html_section",]

[tool.mypy]
python_version = "3.8"
python_version = "3.9"
namespace_packages = true
check_untyped_defs = true
warn_unused_ignores = true
Expand Down
9 changes: 5 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ commands =
check-wheel-contents dist/

[testenv:lint]
basepython = python3.8
basepython = python3.9
changedir = {toxinidir}
ignore_errors = True
skip_install = True
Expand All @@ -88,6 +88,7 @@ deps =
flake8-sphinx-links>=0.0.4
flake8-strftime>=0.1.1
flake8-typing-imports>=1.10.0
git+https://github.com/domdfcoding/restructuredtext-lint.git@fix-deprecations
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
git+https://github.com/python-formate/flake8-unused-arguments.git@magic-methods
Expand All @@ -98,15 +99,15 @@ deps =
commands = python3 -m flake8_rst_docstrings_sphinx sphinx_toolbox_experimental --allow-toolbox {posargs}

[testenv:perflint]
basepython = python3.8
basepython = python3.9
changedir = {toxinidir}
ignore_errors = True
skip_install = True
deps = perflint
commands = python3 -m perflint sphinx_toolbox_experimental {posargs}

[testenv:mypy]
basepython = python3.8
basepython = python3.9
ignore_errors = True
changedir = {toxinidir}
deps =
Expand All @@ -115,7 +116,7 @@ deps =
commands = mypy sphinx_toolbox_experimental {posargs}

[testenv:pyup]
basepython = python3.8
basepython = python3.9
skip_install = True
ignore_errors = True
changedir = {toxinidir}
Expand Down
Loading