diff --git a/.github/workflows/lint_and_test.yml b/.github/workflows/lint_and_test.yml index d215f851..1e95d0db 100644 --- a/.github/workflows/lint_and_test.yml +++ b/.github/workflows/lint_and_test.yml @@ -24,7 +24,7 @@ jobs: strategy: fail-fast: false matrix: - python: ["37", "38", "310"] + python: ["38", "39", "310", "311"] name: typecheck (python ${{ matrix.python }}) steps: - name: Checkout 🛎️ diff --git a/README.md b/README.md index ab325b91..3fcc7fbe 100644 --- a/README.md +++ b/README.md @@ -241,6 +241,8 @@ Each of these steps be run in a local environment or via docker. - Local: `./tests/all.sh` - Docker: `./tests/docker.sh riga/law ./tests/all.sh` +**Note** that, although Python 3.7 is still suppported, type hints are tested only for Python ≥3.8! + ### Git hooks diff --git a/requirements_dev.txt b/requirements_dev.txt index e958f928..2bb1859e 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -1,5 +1,4 @@ mypy~=1.8.0;python_version>="3.8" -mypy~=1.4.0;python_version<"3.8" flake8~=7.0.0;python_version>="3.8" flake8~=5.0.0;python_version<"3.8" flake8-commas~=2.1.0