mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-07 12:44:29 +08:00
enable mypy typechecking for plugin code
This commit is contained in:
@@ -18,6 +18,10 @@ jobs:
|
|||||||
python: 3.6
|
python: 3.6
|
||||||
script: 'python ./scripts/typecheck_tests.py'
|
script: 'python ./scripts/typecheck_tests.py'
|
||||||
|
|
||||||
|
- name: Mypy for plugin code
|
||||||
|
python: 3.7
|
||||||
|
script: 'mypy ./mypy_django_plugin'
|
||||||
|
|
||||||
- name: Lint with black
|
- name: Lint with black
|
||||||
python: 3.7
|
python: 3.7
|
||||||
script: 'black --check --line-length=120 django-stubs/'
|
script: 'black --check --line-length=120 django-stubs/'
|
||||||
|
|||||||
Reference in New Issue
Block a user