Skip to content

Commit

Permalink
chore: Python 3.10 (#320)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
henryiii and pre-commit-ci[bot] authored Sep 21, 2021
1 parent 8e682fb commit 88311d4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ jobs:
- 3.7
- 3.8
- 3.9
- 3.10-dev
name: Check Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -41,7 +42,9 @@ jobs:
run: python -m pytest

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

- name: Test plotting too
if: matrix.python-version != '3.10-dev'
run: python -m pytest --mpl
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ repos:
rev: v1.17.0
hooks:
- id: setup-cfg-fmt
args: [--max-py-version=3.10]

# Notebook formatting
- repo: https://github.com/nbQA-dev/nbQA
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ classifiers =
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Topic :: Scientific/Engineering
Topic :: Scientific/Engineering :: Information Analysis
Topic :: Scientific/Engineering :: Mathematics
Expand Down

0 comments on commit 88311d4

Please sign in to comment.