Skip to content

Commit

Permalink
Updated files with 'repo_helper'. (#32)
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] committed Oct 10, 2022
1 parent daeb54e commit 5bf148f
Show file tree
Hide file tree
Showing 8 changed files with 19 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.6"
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.6"
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.6,3.7,3.8,3.9,3.10,3.11.0-rc.1,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11.0-rc.2,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'

strategy:
fail-fast: False
Expand All @@ -33,7 +33,7 @@ jobs:
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
- {python-version: "3.11.0-rc.1", testenvs: "py311-dev,build", experimental: True}
- {python-version: "3.11.0-rc.2", testenvs: "py311-dev,build", experimental: True}
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
- {python-version: "pypy-3.8", testenvs: "pypy38,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.6,3.7,3.8,3.9,3.10,3.11.0-rc.1,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11.0-rc.2,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'

strategy:
fail-fast: False
Expand All @@ -34,7 +34,7 @@ jobs:
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
- {python-version: "3.11.0-rc.1", testenvs: "py311-dev,build", experimental: True}
- {python-version: "3.11.0-rc.2", testenvs: "py311-dev,build", experimental: True}
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
- {python-version: "pypy-3.8", testenvs: "pypy38,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.6,3.7,3.8,3.9,3.10,3.11.0-rc.1,pypy-3.7,pypy-3.8,pypy-3.9'
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11.0-rc.2,pypy-3.7,pypy-3.8,pypy-3.9'

strategy:
fail-fast: False
Expand All @@ -33,7 +33,7 @@ jobs:
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
- {python-version: "3.11.0-rc.1", testenvs: "py311-dev,build", experimental: True}
- {python-version: "3.11.0-rc.2", testenvs: "py311-dev,build", experimental: True}
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}
- {python-version: "pypy-3.9", testenvs: "pypy39", experimental: True}
Expand Down
3 changes: 3 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@

exclude: ^$

ci:
autoupdate_schedule: quarterly

repos:
- repo: https://github.com/repo-helper/pyproject-parser
rev: v0.7.0
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ autodoc_exclude_members = [
]

[tool.mypy]
python_version = "3.6"
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 @@ -50,7 +50,7 @@ test =
pypy38
pypy39
qa = mypy, lint
cov = py36, coverage
cov = py38, coverage

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

[testenv:lint]
basepython = python3.6
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 git_toggle tests --allow-toolbox {posargs}

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

[testenv:mypy]
basepython = python3.6
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 git_toggle tests {posargs}

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

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

0 comments on commit 5bf148f

Please sign in to comment.