Skip to content

Commit 7ac7708

Browse files
authored
Merge pull request #395 from cclauss/patch-3
Upgrade GitHub Actions
2 parents 230166e + 3a02da2 commit 7ac7708

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.github/workflows/lint_python.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ jobs:
44
lint_python:
55
runs-on: ubuntu-latest
66
steps:
7-
- uses: actions/checkout@v2
8-
- uses: actions/setup-python@v2
7+
- uses: actions/checkout@v3
8+
- uses: actions/setup-python@v4
9+
with:
10+
python-version: 3.x
911
- run: pip install --upgrade pip
1012
- run: pip install black codespell flake8 isort mypy pytest pyupgrade tox
1113
- run: black --check .
@@ -17,4 +19,4 @@ jobs:
1719
- run: mypy --ignore-missing-imports . || true
1820
- run: pytest .
1921
- run: pytest --doctest-modules . || true
20-
- run: shopt -s globstar && pyupgrade --py36-plus **/*.py
22+
- run: shopt -s globstar && pyupgrade --py37-plus **/*.py

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@
1212
"Programming Language :: Python :: 3.7",
1313
"Programming Language :: Python :: 3.8",
1414
"Programming Language :: Python :: 3.9",
15+
"Programming Language :: Python :: 3.10",
1516
],
1617
)

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py38,py39,cov-report
2+
envlist = py38,py39,py310,cov-report
33
skip_missing_interpreters = true
44

55

0 commit comments

Comments
 (0)