Skip to content

Commit 88311d4

Browse files
chore: Python 3.10 (#320)
* chore: Python 3.10 * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update ci.yml * Update ci.yml Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 8e682fb commit 88311d4

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,11 @@ jobs:
2424
- 3.7
2525
- 3.8
2626
- 3.9
27+
- 3.10-dev
2728
name: Check Python ${{ matrix.python-version }}
2829
steps:
2930
- uses: actions/checkout@v2
30-
- uses: actions/setup-python@v1
31+
- uses: actions/setup-python@v2
3132
with:
3233
python-version: ${{ matrix.python-version }}
3334

@@ -41,7 +42,9 @@ jobs:
4142
run: python -m pytest
4243

4344
- name: Install plotting requirements too
45+
if: matrix.python-version != '3.10-dev'
4446
run: python -m pip install -e ".[test,plot]"
4547

4648
- name: Test plotting too
49+
if: matrix.python-version != '3.10-dev'
4750
run: python -m pytest --mpl

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ repos:
3333
rev: v1.17.0
3434
hooks:
3535
- id: setup-cfg-fmt
36+
args: [--max-py-version=3.10]
3637

3738
# Notebook formatting
3839
- repo: https://github.com/nbQA-dev/nbQA

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ classifiers =
2424
Programming Language :: Python :: 3.7
2525
Programming Language :: Python :: 3.8
2626
Programming Language :: Python :: 3.9
27+
Programming Language :: Python :: 3.10
2728
Topic :: Scientific/Engineering
2829
Topic :: Scientific/Engineering :: Information Analysis
2930
Topic :: Scientific/Engineering :: Mathematics

0 commit comments

Comments
 (0)