Anders Kaseorg
9bd8aed1e1
Disable fallback to runtime types for Django settings ( #1163 )
...
This fallback to value.__class__ seems to be doing more harm than
good; see #312 and #1162 . Replace it with a clear error message that
suggests a way to fix the problem rather than incompletely papering
over it.
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2022-09-24 10:57:45 +03:00
Na'aman Hirschfeld
44151c485d
updated package setup ( #485 )
...
* updated package setup
* updated to use python 3.9
* fixed test runner
* fixed typecheck tests
* fixed discrepencies
* added override to runner
* updated travis
* updated pre-commit hooks
* updated dep
2020-10-29 11:59:48 +03:00
Maxim Kurnikov
62dac1d468
remove some asserts that could be validly triggered
2019-07-25 19:53:12 +03:00
Maxim Kurnikov
409c01eb24
allow to specify QuerySet with one parameter
2019-07-25 19:22:59 +03:00
Maxim Kurnikov
4c21855641
fix mypy errors
2019-07-25 18:52:51 +03:00
Maxim Kurnikov
4dfa363521
lint fixes
2019-07-24 13:38:50 +03:00
Maxim Kurnikov
b81fbdeaa9
remove -semanal suffix
2019-07-24 13:38:49 +03:00
Maxim Kurnikov
dc6101b569
remove old semanal plugin data
2019-07-24 13:38:49 +03:00
Maxim Kurnikov
b11a9a85f9
new semanal wip 1
2019-07-24 13:38:49 +03:00
Maxim Kurnikov
9c5a6be9a7
split helpers into smaller files
2019-07-24 13:38:49 +03:00
Maxim Kurnikov
fd06816cbb
Work around "no settings module" crash ( #65 )
...
Workaround "no settings module" crash
2019-04-12 17:14:23 +03:00
Maxim Kurnikov
aeb435c8b3
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
2019-04-12 14:54:00 +03:00
Maxim Kurnikov
18c908bf98
set plugin_generated on new symbol nodes
2019-03-05 20:15:46 +03:00
Maxim Kurnikov
c962b8ac68
attempt to add flake8 and isort
2019-03-01 02:07:53 +03:00
Maxim Kurnikov
e9f9202ed1
preliminary support for strict_optional
2019-02-17 18:07:53 +03:00