Skip to content

Commit

Permalink
Move mypy options from the Makefile into mypy.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
dripton committed May 2, 2022
1 parent 308d6a3 commit 43b492c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -7,7 +7,7 @@ install: build
sudo python3 setup.py install

mypy:
mypy --disallow-untyped-calls --disallow-untyped-defs slugathon
mypy slugathon

black:
black slugathon/
Expand Down
2 changes: 2 additions & 0 deletions mypy.ini
@@ -1,6 +1,8 @@
[mypy]
namespace_packages=True
plugins=mypy_zope:plugin
disallow_untyped_defs = True
disallow_untyped_calls = True

[mypy-cairo.*]
ignore_missing_imports = True
Expand Down

0 comments on commit 43b492c

Please sign in to comment.