diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4595c4e..cae8cc0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -23,5 +23,9 @@ jobs: run: | python -m pip install --upgrade pip python -m pip install tox tox-gh-actions + + - name: Pre-commit + uses: pre-commit/action@v3.0.0 + - name: Test with tox run: tox diff --git a/.mypy.ini b/.mypy.ini index 629535a..19db5ef 100644 --- a/.mypy.ini +++ b/.mypy.ini @@ -9,13 +9,13 @@ strict_equality = True extra_checks = True # Strongly recommend enabling this one as soon as you can -; check_untyped_defs = True +check_untyped_defs = True # These shouldn't be too much additional work, but may be tricky to # get passing if you use a lot of untyped libraries disallow_subclassing_any = True disallow_untyped_decorators = True -; disallow_any_generics = True +disallow_any_generics = True # These next few are various gradations of forcing use of type annotations ; disallow_untyped_calls = True