Enforce type annotations via mypy --strict

Enforcement added via:
- The repo's Makefile (`make check-mypy` & `make lint`)
- The repo's main GitHub Action
This commit is contained in:
Jeremy Singer-Vine
2022-05-06 09:51:01 -04:00
parent 9587cc7d22
commit cdfdb87a21
3 changed files with 13 additions and 3 deletions
+3
View File
@@ -35,6 +35,9 @@ jobs:
- name: Validate against flake8
run: python -m flake8 pdfplumber tests
- name: Check type annotations via mypy
run: python -m mypy --strict pdfplumber
test:
needs: lint
runs-on: ubuntu-latest