Skip to content

Commit

Permalink
Updated files with 'repo_helper'. (#46)
Browse files Browse the repository at this point in the history
Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com>
  • Loading branch information
repo-helper[bot] authored Sep 28, 2022
1 parent 253d993 commit 2c806a6
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 16 deletions.
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@v2"
with:
python-version: "3.7"
python-version: "3.8"

- name: Install dependencies 🔧
if: steps.changes.outputs.code == 'true'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
if: steps.changes.outputs.code == 'true'
uses: "actions/setup-python@v2"
with:
python-version: "3.7"
python-version: "3.8"

- 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 @@ -22,7 +22,7 @@ jobs:
runs-on: "windows-2019"
continue-on-error: ${{ matrix.config.experimental }}
env:
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11.0-rc.1,pypy-3.7,pypy-3.8'
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11.0-rc.2,pypy-3.7,pypy-3.8'

strategy:
fail-fast: False
Expand All @@ -32,7 +32,7 @@ jobs:
- {python-version: "3.8", testenvs: "py38-sphinx{3.2,3.3,3.4,3.5},build", experimental: False}
- {python-version: "3.9", testenvs: "py39-sphinx{3.2,3.3,3.4,3.5},build", experimental: False}
- {python-version: "3.10", testenvs: "py310-sphinx{3.2,3.3,3.4,3.5},build", experimental: False}
- {python-version: "3.11.0-rc.1", testenvs: "py311-dev-sphinx{3.2,3.3,3.4,3.5},build", experimental: True}
- {python-version: "3.11.0-rc.2", testenvs: "py311-dev-sphinx{3.2,3.3,3.4,3.5},build", experimental: True}
- {python-version: "pypy-3.7", testenvs: "pypy37-sphinx{3.2,3.3,3.4,3.5},build", experimental: True}
- {python-version: "pypy-3.8", testenvs: "pypy38-sphinx{3.2,3.3,3.4,3.5},build", experimental: True}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python_ci_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: "ubuntu-20.04"
continue-on-error: ${{ matrix.config.experimental }}
env:
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11.0-rc.1,pypy-3.7,pypy-3.8'
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11.0-rc.2,pypy-3.7,pypy-3.8'

strategy:
fail-fast: False
Expand All @@ -33,7 +33,7 @@ jobs:
- {python-version: "3.8", testenvs: "py38-sphinx{3.2,3.3,3.4,3.5},build", experimental: False}
- {python-version: "3.9", testenvs: "py39-sphinx{3.2,3.3,3.4,3.5},build", experimental: False}
- {python-version: "3.10", testenvs: "py310-sphinx{3.2,3.3,3.4,3.5},build", experimental: False}
- {python-version: "3.11.0-rc.1", testenvs: "py311-dev-sphinx{3.2,3.3,3.4,3.5},build", experimental: True}
- {python-version: "3.11.0-rc.2", testenvs: "py311-dev-sphinx{3.2,3.3,3.4,3.5},build", experimental: True}
- {python-version: "pypy-3.7", testenvs: "pypy37-sphinx{3.2,3.3,3.4,3.5},build", experimental: True}
- {python-version: "pypy-3.8", testenvs: "pypy38-sphinx{3.2,3.3,3.4,3.5},build", experimental: True}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python_ci_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: "macos-latest"
continue-on-error: ${{ matrix.config.experimental }}
env:
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11.0-rc.1,pypy-3.7,pypy-3.8'
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11.0-rc.2,pypy-3.7,pypy-3.8'

strategy:
fail-fast: False
Expand All @@ -32,7 +32,7 @@ jobs:
- {python-version: "3.8", testenvs: "py38-sphinx{3.2,3.3,3.4,3.5},build", experimental: False}
- {python-version: "3.9", testenvs: "py39-sphinx{3.2,3.3,3.4,3.5},build", experimental: False}
- {python-version: "3.10", testenvs: "py310-sphinx{3.2,3.3,3.4,3.5},build", experimental: False}
- {python-version: "3.11.0-rc.1", testenvs: "py311-dev-sphinx{3.2,3.3,3.4,3.5},build", experimental: True}
- {python-version: "3.11.0-rc.2", testenvs: "py311-dev-sphinx{3.2,3.3,3.4,3.5},build", experimental: True}
- {python-version: "pypy-3.7", testenvs: "pypy37-sphinx{3.2,3.3,3.4,3.5},build", experimental: True}
- {python-version: "pypy-3.8", testenvs: "pypy38-sphinx{3.2,3.3,3.4,3.5},build", experimental: True}

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ autodoc_exclude_members = [
]

[tool.mypy]
python_version = "3.7"
python_version = "3.8"
namespace_packages = true
check_untyped_defs = true
warn_unused_ignores = true
Expand Down
14 changes: 7 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ test =
pypy37-sphinx{3.2,3.3,3.4,3.5}
pypy38-sphinx{3.2,3.3,3.4,3.5}
qa = mypy, lint
cov = py37-sphinx3.2, coverage
cov = py38-sphinx3.2, coverage
raspi = py3{7,8,9,10}-sphinx3.5

[testenv]
Expand Down Expand Up @@ -83,7 +83,7 @@ commands =
check-wheel-contents dist/

[testenv:lint]
basepython = python3.7
basepython = python3.8
changedir = {toxinidir}
ignore_errors = True
skip_install = True
Expand Down Expand Up @@ -113,33 +113,33 @@ deps =
commands = python3 -m flake8_rst_docstrings_sphinx sphinx_highlights tests --allow-toolbox {posargs}

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

[testenv:mypy]
basepython = python3.7
basepython = python3.8
ignore_errors = True
changedir = {toxinidir}
deps =
mypy==0.942
mypy==0.971
-r{toxinidir}/tests/requirements.txt
-r{toxinidir}/stubs.txt
commands = mypy sphinx_highlights tests {posargs}

[testenv:pyup]
basepython = python3.7
basepython = python3.8
skip_install = True
ignore_errors = True
changedir = {toxinidir}
deps = pyupgrade-directories
commands = pyup_dirs sphinx_highlights tests --py36-plus --recursive

[testenv:coverage]
basepython = python3.7
basepython = python3.8
skip_install = True
ignore_errors = True
whitelist_externals = /bin/bash
Expand Down

0 comments on commit 2c806a6

Please sign in to comment.