disallow untyped defs
This commit is contained in:
parent
4a10c7a9ba
commit
877b79c681
|
@ -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]
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
def main():
|
def main() -> None:
|
||||||
print("Hello World")
|
print("Hello World")
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
def test_basicpy():
|
def test_basicpy() -> None:
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in a new issue