1
0
Fork 0

Added mypy to scripts and workflow, and some first annotations for celerywyrm

This commit is contained in:
Joeri de Ruiter 2023-07-22 13:27:43 +02:00
parent 9c5b5d0ac1
commit 75f37d7361
10 changed files with 90 additions and 7 deletions

15
mypy.ini Normal file
View file

@ -0,0 +1,15 @@
[mypy]
plugins = mypy_django_plugin.main
namespace_packages = True
strict = True
[mypy.plugins.django-stubs]
django_settings_module = "bookwyrm.settings"
[mypy-bookwyrm.*]
ignore_errors = True
implicit_reexport = True
[mypy-celerywyrm.*]
ignore_errors = False