Skip to content

Commit

Permalink
Add support for python 3.10 (#83)
Browse files Browse the repository at this point in the history
* Add support for python 3.10

* Fix YAML formatting 3.10 to 3.1

* Update poetry in github-actions to use 1.1.11
  • Loading branch information
DurgNomis-drol authored Oct 12, 2021
1 parent 437267a commit e2c766f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
python-version: [3.7, 3.8, 3.9]
python-version: [3.7, 3.8, 3.9, "3.10"]
fail-fast: false

steps:
Expand All @@ -30,7 +30,7 @@ jobs:
- name: Install Poetry
uses: abatilo/[email protected]
with:
poetry-version: 1.1.5
poetry-version: 1.1.11

- name: Install dependencies
run: poetry install
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: Pre-commit
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: [3.7, 3.8, 3.9, "3.10"]
runs-on: ubuntu-latest
steps:
- name: Check out the repository
Expand All @@ -25,7 +25,7 @@ jobs:
- name: Install Poetry
uses: abatilo/[email protected]
with:
poetry-version: 1.1.5
poetry-version: 1.1.11

- name: Install dependencies
run: poetry install
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ classifiers = [
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
keywords = [
"Toyota",
Expand Down
2 changes: 1 addition & 1 deletion tests/test_myt.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""pytest tests for mytoyota.client.MyT"""

import pytest
import pytest # pylint: disable=import-error

from mytoyota.client import MyT
from mytoyota.exceptions import (
Expand Down
2 changes: 1 addition & 1 deletion tests/test_parking_location.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""pytest tests for mytoyota.location.ParkingLocation"""

from mytoyota.location import ParkingLocation
from mytoyota.location import ParkingLocation # pylint: disable=import-error

# pylint: disable=no-self-use

Expand Down

0 comments on commit e2c766f

Please sign in to comment.