Skip to content

Commit

Permalink
Add thorough type annotations
Browse files Browse the repository at this point in the history
This effectively bumps the required Python version to 3.7.x due to the
use of `from __future__ import annotations`, but in return we get static
type validation and potential for mypycification.
  • Loading branch information
elprans committed Aug 31, 2021
1 parent e194a29 commit 995c746
Show file tree
Hide file tree
Showing 13 changed files with 727 additions and 535 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9, 3.10.0-rc.1]
python-version: [3.7, 3.8, 3.9, 3.10.0-rc.1]

env:
PIP_DISABLE_PIP_VERSION_CHECK: 1
Expand Down
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
include LICENSE* README.rst
include parsing/py.typed

0 comments on commit 995c746

Please sign in to comment.