Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Commit

Permalink
Updated files with 'repo_helper'.
Browse files Browse the repository at this point in the history
  • Loading branch information
repo-helper[bot] committed Nov 1, 2022
1 parent c0bad47 commit d6073b9
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 18 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/flake8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

steps:
- name: Checkout 🛎️
uses: "actions/checkout@v2"
uses: "actions/checkout@v3"

- name: Check for changed files
uses: dorny/paths-filter@v2
Expand All @@ -33,9 +33,9 @@ jobs:
- name: Setup Python 🐍
if: steps.changes.outputs.code == 'true'
uses: "actions/setup-python@v2"
uses: "actions/setup-python@v4"
with:
python-version: "3.7"
python-version: "3.8"

- name: Install dependencies 🔧
if: steps.changes.outputs.code == 'true'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

steps:
- name: Checkout 🛎️
uses: "actions/checkout@v2"
uses: "actions/checkout@v3"

- name: Check for changed files
uses: dorny/paths-filter@v2
Expand All @@ -38,9 +38,9 @@ jobs:
- name: Setup Python 🐍
if: steps.changes.outputs.code == 'true'
uses: "actions/setup-python@v2"
uses: "actions/setup-python@v4"
with:
python-version: "3.7"
python-version: "3.8"

- name: Install dependencies 🔧
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/python_ci_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

steps:
- name: Checkout 🛎️
uses: "actions/checkout@v2"
uses: "actions/checkout@v3"

- name: Check for changed files
if: startsWith(github.ref, 'refs/tags/') != true
Expand All @@ -51,7 +51,7 @@ jobs:
- name: Setup Python 🐍
id: setup-python
if: ${{ steps.changes.outputs.code == 'true' || steps.changes.outcome == 'skipped' }}
uses: "actions/setup-python@v2"
uses: "actions/setup-python@v4"
with:
python-version: "${{ matrix.config.python-version }}"

Expand Down Expand Up @@ -81,10 +81,10 @@ jobs:
runs-on: "ubuntu-20.04"
steps:
- name: Checkout 🛎️
uses: "actions/checkout@v2"
uses: "actions/checkout@v3"

- name: Setup Python 🐍
uses: "actions/setup-python@v2"
uses: "actions/setup-python@v4"
with:
python-version: 3.8

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 @@ -40,7 +40,7 @@ license-key = "MIT"
package = "tox_minversions"

[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 @@ -27,7 +27,7 @@ requires =
[envlists]
test = py37, py38, py39, py310-dev
qa = mypy, lint
cov = py37, coverage
cov = py38, coverage

[testenv]
setenv =
Expand All @@ -52,7 +52,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 @@ -82,33 +82,33 @@ deps =
commands = python3 -m flake8_rst_docstrings_sphinx tox_minversions 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 tox_minversions {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
types-first
commands = mypy tox_minversions tests {posargs}

[testenv:pyup]
basepython = python3.7
basepython = python3.8
skip_install = True
ignore_errors = True
changedir = {toxinidir}
deps = pyupgrade-directories
commands = pyup_dirs tox_minversions 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 d6073b9

Please sign in to comment.