Skip to content

Commit

Permalink
Support python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
rkhwaja committed Oct 26, 2022
1 parent 28a7872 commit 2a595c3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.7, 3.8, 3.9, "3.10"]
python-version: [3.7, 3.8, 3.9, "3.10", "3.11"]

steps:
- uses: actions/checkout@v2
Expand All @@ -36,7 +36,7 @@ jobs:
poe lint
- name: Tests
run: |
if python --version | grep -q 'Python 3.10' ; then
if python --version | grep -q 'Python 3.11' ; then
poe test
fi
- name: Codecov
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ classifiers = [
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10"
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11"
]

[tool.poetry.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/listdiff/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Diff 2 python lists using a given key"""

from collections.abc import Iterable, Iterator
from collections.abc import Iterable, Iterator # pylint: disable=no-name-in-module
from logging import getLogger, NullHandler
from typing import Any

Expand Down

0 comments on commit 2a595c3

Please sign in to comment.