Petter Friberg
cc5d363cfa
Add end-of-file-fixer hook to pre-commit ( #668 )
2021-07-12 00:48:36 +03:00
Seth Yastrov
f9317c7679
Rename ValuesQuerySet -> _ValuesQuerySet and remove _BaseQuerySet. Ma… ( #654 )
...
* Rename ValuesQuerySet -> _ValuesQuerySet and remove _BaseQuerySet. Make a public alias called ValuesQuerySet in django_stubs_ext.
* Update tests
2021-06-28 13:23:00 +03:00
Daniel Hahler and Nikita Sobolev
a00563cfa4
[WIP/RFC] Revisit patching of mypy builtins (reveal_{type,locals}) ( #615 )
...
* Revisit patching of mypy builtins (reveal_{type,locals})
Fixes https://github.com/typeddjango/django-stubs/issues/609
Reverts https://github.com/typeddjango/django-stubs/commit/ee58b18f1577eb31fb5faaae94725a18625904fc
* Create test_patching.yml
Co-authored-by: Nikita Sobolev <mail@sobolevn.me >
2021-06-25 16:56:21 +03:00
Chris Beaven
acfe0ce820
Patch detail and list generic view base classes ( #642 )
...
Similar to the already patched `FormMixin`, the detail and list generic view classes are also missing __class_getitem__ and choke when you try to use their generics.
2021-06-16 10:32:47 +03:00
Nikita Sobolev
353b790209
Create py.typed
2021-05-21 11:00:24 +03:00
sobolevn
488d17b65c
django-stubs-ext@0.2.0
2021-04-14 12:59:57 +03:00
Daniel Hahler and Nikita Sobolev
ee58b18f15
WIP: django_stubs_ext: monkeypatch reveal_{type,locals} into builtins ( #591 )
...
* WIP: django_stubs_ext: monkeypatch `reveal_{type,locals}` into builtins
Fixes https://github.com/typeddjango/django-stubs/issues/590
* fixup! WIP: django_stubs_ext: monkeypatch `reveal_{type,locals}` into builtins
* fixup! fixup! WIP: django_stubs_ext: monkeypatch `reveal_{type,locals}` into builtins
* Update patch.py
Co-authored-by: Nikita Sobolev <mail@sobolevn.me >
2021-04-14 12:33:45 +03:00
sobolevn
3cca71a58f
Version 1.8.0 release
2021-04-12 13:12:19 +03:00
markedwards
2e9adce5eb
Add Field to django_stubs_ext.django_stubs_ext.patch._need_generic ( #547 )
2020-12-22 10:09:29 +03:00
markedwards
47bd07758b
Update django_stubs_ext documentation to reference settings ( #548 )
2020-12-19 11:50:46 +03:00
sobolevn
16326e999c
Fixes CI
2020-11-14 21:18:09 +03:00
sobolevn
517ae648e5
Adds more types to patch
2020-11-14 20:46:32 +03:00
Nikita Sobolev
8a68111ce5
Closes #529 ( #530 )
...
* Closes #529
* Fixing CI
* Fixing CI
* new monorepo setup
2020-11-14 20:03:50 +03:00
proxy
0c41d0c6e9
create monkeypatching function for adding get_item dunder ( #526 )
...
* run black
* create monkeypatching function for adding get_item dunder
* whoops i forgot the test
* change the name in INSTALLED_APPS to make test pass
* turn the whole thing into a proper package
* move django_stubs_ext to requirements.txt
* also install requirements.txt
* attempt to fix pre-commit
* numerous small code review fixes
* fix dependency issues
* small dependency fixes
* configure proper license file location
* add the rest of the monkeypatching
* use strict mypy
* update contributing with a note monkeypatching generics
* copy release script from parent package
2020-11-11 10:04:13 +03:00