Added mypy to scripts and workflow, and some first annotations for celerywyrm
This commit is contained in:
parent
9c5b5d0ac1
commit
75f37d7361
10 changed files with 90 additions and 7 deletions
15
mypy.ini
Normal file
15
mypy.ini
Normal 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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue