disallow untyped defs

This commit is contained in:
Thomas Lindner 2021-11-18 01:59:09 +01:00
parent 4a10c7a9ba
commit 877b79c681
3 changed files with 3 additions and 3 deletions

View file

@ -42,7 +42,7 @@ deps =
commands = commands =
black --check --diff src tests black --check --diff src tests
flake8 src tests flake8 src tests
mypy src tests mypy --disallow-untyped-defs src tests
pytest tests pytest tests
[flake8] [flake8]

View file

@ -1,2 +1,2 @@
def main(): def main() -> None:
print("Hello World") print("Hello World")

View file

@ -1,2 +1,2 @@
def test_basicpy(): def test_basicpy() -> None:
pass pass