Skip to content

Commit 058b18a

Browse files
committed
feat: Update packages
Update minimal python version to 3.9 Update packages: black, mypyp, pytype, flake8*
1 parent cb1e3b6 commit 058b18a

5 files changed

Lines changed: 734 additions & 416 deletions

File tree

.github/workflows/tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
runs-on: ubuntu-latest
77
strategy:
88
matrix:
9-
python-version: ['3.7', '3.8', '3.9', '3.10']
9+
python-version: ['3.9', '3.10', '3.11', '3.12']
1010
name: Python ${{ matrix.python-version }}
1111
steps:
1212
- uses: actions/checkout@v2
@@ -15,5 +15,6 @@ jobs:
1515
python-version: ${{ matrix.python-version }}
1616
architecture: x64
1717
- run: pip install nox==2023.4.22
18-
- run: pip install poetry==1.4.0
18+
- run: pip install poetry==2.1.3
19+
- run: poetry self add poetry-plugin-export
1920
- run: nox -p ${{ matrix.python-version }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ To test server you can use simple JavaScript client from `client/client.html`.
1919

2020
## Requirements
2121

22-
* python => 3.7
22+
* python => 3.9

noxfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import nox
55
from nox.sessions import Session
66

7-
PYTHON_VERSIONS = ("3.10", "3.9", "3.8", "3.7")
7+
PYTHON_VERSIONS = ("3.12", "3.11", "3.10", "3.9")
88
LOCATIONS = ("noxfile.py", "tests", "sockit")
99

1010
nox.options.sessions = ("lint", "mypy", "pytype", "tests")
@@ -57,7 +57,7 @@ def mypy(session: Session) -> None:
5757
session.run("mypy", *args)
5858

5959

60-
@nox.session(python="3.7")
60+
@nox.session(python=PYTHON_VERSIONS)
6161
def pytype(session: Session) -> None:
6262
"""Run the static type checker."""
6363
args = session.posargs or ["--disable=import-error", *LOCATIONS]

0 commit comments

Comments
 (0)