Skip to content

Commit

Permalink
Drop type hints for Python 3.7.
Browse files Browse the repository at this point in the history
  • Loading branch information
riga committed Jan 26, 2024
1 parent ba60d33 commit 8074ac9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 🛎️
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 8074ac9

Please sign in to comment.