mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-06 20:24:31 +08:00
Disable monkeypatches, add dependencies via new hook (#60)
* code cleanups, disable monkeypatches, move to add_additional_deps * disable incremental mode for tests * add pip-wheel-metadata * move some code from get_base_hook to get_attribute_hook to reduce dependencies * simplify values/values_list tests and code * disable cache for some tests failing with incremental mode * enable incremental mode for tests typechecking * pin mypy version * fix tests * lint * fix internal crashes
This commit is contained in:
@@ -2,7 +2,6 @@ import os
|
||||
from pathlib import Path
|
||||
from typing import List
|
||||
|
||||
|
||||
STUBS_ROOT = Path(__file__).parent.parent / 'django-stubs'
|
||||
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ check_untyped_defs = True
|
||||
warn_no_return = False
|
||||
show_traceback = True
|
||||
allow_redefinition = True
|
||||
incremental = False
|
||||
incremental = True
|
||||
|
||||
plugins =
|
||||
mypy_django_plugin.main
|
||||
|
||||
Reference in New Issue
Block a user