Skip to content

Commit 7155b65

Browse files
[repo-helper] Configuration Update (#17)
* Updated files with 'repo_helper'. * Updated files with 'repo_helper'. * Updated files with 'repo_helper'. Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com>
1 parent f918699 commit 7155b65

File tree

8 files changed

+41
-36
lines changed

8 files changed

+41
-36
lines changed

.github/workflows/flake8.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
steps:
2222
- name: Checkout 🛎️
23-
uses: "actions/checkout@v2"
23+
uses: "actions/checkout@v3"
2424

2525
- name: Check for changed files
2626
uses: dorny/paths-filter@v2
@@ -33,17 +33,17 @@ jobs:
3333
3434
- name: Setup Python 🐍
3535
if: steps.changes.outputs.code == 'true'
36-
uses: "actions/setup-python@v2"
36+
uses: "actions/setup-python@v4"
3737
with:
38-
python-version: "3.6"
38+
python-version: "3.8"
3939

4040
- name: Install dependencies 🔧
4141
if: steps.changes.outputs.code == 'true'
4242
run: |
4343
python -VV
4444
python -m site
4545
python -m pip install --upgrade pip setuptools wheel
46-
python -m pip install tox
46+
python -m pip install tox~=3.0
4747
4848
- name: "Run Flake8"
4949
if: steps.changes.outputs.code == 'true'

.github/workflows/mypy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
steps:
2727
- name: Checkout 🛎️
28-
uses: "actions/checkout@v2"
28+
uses: "actions/checkout@v3"
2929

3030
- name: Check for changed files
3131
uses: dorny/paths-filter@v2
@@ -38,16 +38,16 @@ jobs:
3838
3939
- name: Setup Python 🐍
4040
if: steps.changes.outputs.code == 'true'
41-
uses: "actions/setup-python@v2"
41+
uses: "actions/setup-python@v4"
4242
with:
43-
python-version: "3.6"
43+
python-version: "3.8"
4444

4545
- name: Install dependencies 🔧
4646
run: |
4747
python -VV
4848
python -m site
4949
python -m pip install --upgrade pip setuptools wheel
50-
python -m pip install --upgrade tox virtualenv!=20.16.0
50+
python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
5151
5252
- name: "Run mypy"
5353
if: steps.changes.outputs.code == 'true'

.github/workflows/python_ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,17 @@ jobs:
2222
runs-on: "windows-2019"
2323
continue-on-error: ${{ matrix.config.experimental }}
2424
env:
25-
USING_COVERAGE: '3.6'
25+
USING_COVERAGE: '3.8'
2626

2727
strategy:
2828
fail-fast: False
2929
matrix:
3030
config:
31-
- {python-version: "3.6", testenvs: "py36,build", experimental: False}
31+
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
3232

3333
steps:
3434
- name: Checkout 🛎️
35-
uses: "actions/checkout@v2"
35+
uses: "actions/checkout@v3"
3636

3737
- name: Check for changed files
3838
if: startsWith(github.ref, 'refs/tags/') != true
@@ -47,7 +47,7 @@ jobs:
4747
- name: Setup Python 🐍
4848
id: setup-python
4949
if: ${{ steps.changes.outputs.code == 'true' || steps.changes.outcome == 'skipped' }}
50-
uses: "actions/setup-python@v2"
50+
uses: "actions/setup-python@v4"
5151
with:
5252
python-version: "${{ matrix.config.python-version }}"
5353

@@ -57,7 +57,7 @@ jobs:
5757
python -VV
5858
python -m site
5959
python -m pip install --upgrade pip setuptools wheel
60-
python -m pip install --upgrade tox virtualenv!=20.16.0
60+
python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
6161
6262
- name: "Run Tests for Python ${{ matrix.config.python-version }}"
6363
if: steps.setup-python.outcome == 'success'

.github/workflows/python_ci_linux.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,17 @@ jobs:
2323
runs-on: "ubuntu-20.04"
2424
continue-on-error: ${{ matrix.config.experimental }}
2525
env:
26-
USING_COVERAGE: '3.6'
26+
USING_COVERAGE: '3.8'
2727

2828
strategy:
2929
fail-fast: False
3030
matrix:
3131
config:
32-
- {python-version: "3.6", testenvs: "py36,build", experimental: False}
32+
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
3333

3434
steps:
3535
- name: Checkout 🛎️
36-
uses: "actions/checkout@v2"
36+
uses: "actions/checkout@v3"
3737

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

@@ -58,7 +58,7 @@ jobs:
5858
python -VV
5959
python -m site
6060
python -m pip install --upgrade pip setuptools wheel
61-
python -m pip install --upgrade tox virtualenv!=20.16.0
61+
python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
6262
6363
- name: "Run Tests for Python ${{ matrix.config.python-version }}"
6464
if: steps.setup-python.outcome == 'success'
@@ -72,11 +72,11 @@ jobs:
7272
runs-on: "ubuntu-20.04"
7373
steps:
7474
- name: Checkout 🛎️
75-
uses: "actions/checkout@v2"
75+
uses: "actions/checkout@v3"
7676
if: startsWith(github.ref, 'refs/tags/')
7777

7878
- name: Setup Python 🐍
79-
uses: "actions/setup-python@v2"
79+
uses: "actions/setup-python@v4"
8080
if: startsWith(github.ref, 'refs/tags/')
8181
with:
8282
python-version: 3.8
@@ -85,7 +85,7 @@ jobs:
8585
if: startsWith(github.ref, 'refs/tags/')
8686
run: |
8787
python -m pip install --upgrade pip setuptools wheel
88-
python -m pip install --upgrade tox
88+
python -m pip install --upgrade tox~=3.0
8989
9090
- name: Build distributions 📦
9191
if: startsWith(github.ref, 'refs/tags/')

.github/workflows/python_ci_macos.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,17 @@ jobs:
2222
runs-on: "macos-latest"
2323
continue-on-error: ${{ matrix.config.experimental }}
2424
env:
25-
USING_COVERAGE: '3.6'
25+
USING_COVERAGE: '3.8'
2626

2727
strategy:
2828
fail-fast: False
2929
matrix:
3030
config:
31-
- {python-version: "3.6", testenvs: "py36,build", experimental: False}
31+
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
3232

3333
steps:
3434
- name: Checkout 🛎️
35-
uses: "actions/checkout@v2"
35+
uses: "actions/checkout@v3"
3636

3737
- name: Check for changed files
3838
if: startsWith(github.ref, 'refs/tags/') != true
@@ -47,7 +47,7 @@ jobs:
4747
- name: Setup Python 🐍
4848
id: setup-python
4949
if: ${{ steps.changes.outputs.code == 'true' || steps.changes.outcome == 'skipped' }}
50-
uses: "actions/setup-python@v2"
50+
uses: "actions/setup-python@v4"
5151
with:
5252
python-version: "${{ matrix.config.python-version }}"
5353

@@ -57,7 +57,7 @@ jobs:
5757
python -VV
5858
python -m site
5959
python -m pip install --upgrade pip setuptools wheel
60-
python -m pip install --upgrade tox virtualenv!=20.16.0
60+
python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
6161
6262
- name: "Run Tests for Python ${{ matrix.config.python-version }}"
6363
if: steps.setup-python.outcome == 'success'

.pre-commit-config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33

44
exclude: ^README.rst$
55

6+
ci:
7+
autoupdate_schedule: quarterly
8+
69
repos:
710
- repo: https://github.com/repo-helper/pyproject-parser
811
rev: v0.7.0

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ always = [ "pyproject_examples.example_configs", "pyproject_examples", "pyprojec
2828

2929
[tool.whey]
3030
base-classifiers = [ "Typing :: Typed",]
31-
python-versions = [ "3.6",]
31+
python-versions = [ "3.8",]
3232
python-implementations = [ "CPython",]
3333
platforms = [ "Windows", "macOS", "Linux",]
3434
license-key = "MIT"
3535
package = "pyproject_examples"
3636

3737
[tool.mypy]
38-
python_version = "3.6"
38+
python_version = "3.8"
3939
namespace_packages = true
4040
check_untyped_defs = true
4141
warn_unused_ignores = true

tox.ini

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# * tox
44
# * envlists
55
# * testenv
6+
# * testenv:py312-dev
67
# * testenv:docs
78
# * testenv:build
89
# * testenv:lint
@@ -14,16 +15,17 @@
1415
# * pytest
1516

1617
[tox]
17-
envlist = py36, mypy, build
18+
envlist = py38, mypy, build
1819
skip_missing_interpreters = True
1920
isolated_build = True
2021
requires =
2122
pip>=21,!=22.2
2223
tox-envlist>=0.2.1
24+
tox~=3.0
2325
virtualenv!=20.16.0
2426

2527
[envlists]
26-
test = py36
28+
test = py38
2729
qa = mypy, lint
2830

2931
[testenv]
@@ -49,7 +51,7 @@ commands =
4951
check-wheel-contents dist/
5052

5153
[testenv:lint]
52-
basepython = python3.6
54+
basepython = python3.8
5355
changedir = {toxinidir}
5456
ignore_errors = True
5557
skip_install = True
@@ -79,22 +81,22 @@ deps =
7981
commands = python3 -m flake8_rst_docstrings_sphinx pyproject_examples --allow-toolbox {posargs}
8082

8183
[testenv:perflint]
82-
basepython = python3.6
84+
basepython = python3.8
8385
changedir = {toxinidir}
8486
ignore_errors = True
8587
skip_install = True
8688
deps = perflint
8789
commands = python3 -m perflint pyproject_examples {posargs}
8890

8991
[testenv:mypy]
90-
basepython = python3.6
92+
basepython = python3.8
9193
ignore_errors = True
9294
changedir = {toxinidir}
93-
deps = mypy==0.942
95+
deps = mypy==0.971
9496
commands = mypy pyproject_examples {posargs}
9597

9698
[testenv:pyup]
97-
basepython = python3.6
99+
basepython = python3.8
98100
skip_install = True
99101
ignore_errors = True
100102
changedir = {toxinidir}
@@ -120,7 +122,7 @@ inline-quotes = "
120122
multiline-quotes = """
121123
docstring-quotes = """
122124
count = True
123-
min_python_version = 3.6.1
125+
min_python_version = 3.8
124126
unused-arguments-ignore-abstract-functions = True
125127
unused-arguments-ignore-overload-functions = True
126128
unused-arguments-ignore-magic-methods = True

0 commit comments

Comments
 (0)