mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-11-03 02:57:32 +08:00
enable mypy typechecking for plugin code
This commit is contained in:
1 parent
bc42cc2fa1
commit
1b6c337aef
1 file changed
+4
@@ -18,6 +18,10 @@ jobs:
|
||||
python: 3.6
|
||||
script: 'python ./scripts/typecheck_tests.py'
|
||||
|
||||
- name: Mypy for plugin code
|
||||
python: 3.7
|
||||
script: 'mypy ./mypy_django_plugin'
|
||||
|
||||
- name: Lint with black
|
||||
python: 3.7
|
||||
script: 'black --check --line-length=120 django-stubs/'
|
||||
|
||||
Reference in new issue
Block a user