Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/typeddjango/django-stubs

PEP-484 stubs for Django
https://github.com/typeddjango/django-stubs

A couple of small fixes (#81)

* Fix type of django.contrib.postgres.fields.JSONField(verbose_name)

* Improve type for Curso...

0e60b70ae4f521e3a527997d6b79e461d9245dfa authored over 5 years ago by Ran Benita <[email protected]>
django.contrib.messages.api: use HttpRequest instead of WSGIRequest (#73)

Its error messages explicitly note that an HttpRequest is required.
https://docs.djangoproject....

dd5b98faf0ead82ebeffa82ef0fa666e46124a12 authored over 5 years ago by Ville Skyttä <[email protected]>
Re-export names from django.core.cache.backend.base (#71)

e634a5d460aebe4f0181ebf3fe9534b300475539 authored over 5 years ago by Ethan Smith <[email protected]>
Fix type of prefix arg in staticfiles_urlpatterns (#74)

Using a *type* of None for the prefix keyword argument is not going to
typecheck very well, so ...

d7d7e6c66e0469f51325644424db70aaf8af236a authored over 5 years ago by aszlig <[email protected]>
Type non-parametrised views.decorators.http (#80)

Fixes `error: Untyped decorator makes function "view" untyped`

b66727657dbd412543994a51741062686c699c36 authored over 5 years ago by Anthony Ricaud <[email protected]>
bump version

86642e3ddd437137682158053fc3687fbb5ed0e4 authored over 5 years ago by Maxim Kurnikov <[email protected]>
Preserve callable type in view decorators (#67)

952e1c3ee9b17f3340ae0e39788e590ab79c01cc authored over 5 years ago by Maciej Gol <[email protected]>
make ignore_missing_model_attributes behaviour optional (#66)

make "ignore_missing_model_attributes" behaviour opt-in

5dd6eccdb5e7a06afb41a37cddca97e1bed5d3dd authored over 5 years ago by Maxim Kurnikov <[email protected]>
Work around "no settings module" crash (#65)

Workaround "no settings module" crash

fd06816cbb9ae080a2e845800d6164ed356e513c authored over 5 years ago by Maxim Kurnikov <[email protected]>
Disable monkeypatches, add dependencies via new hook (#60)

* code cleanups, disable monkeypatches, move to add_additional_deps

* disable incremental mod...

aeb435c8b3c9c248fe0ddee7caead8f5c6b0a35c authored over 5 years ago by Maxim Kurnikov <[email protected]>
bump version

13d19017b7fdd1aa780b091cf1ce898807caffca authored over 5 years ago by Maxim Kurnikov <[email protected]>
make mypy.checker import locally to prevent import cycles

28a3f126ee4f8158bbb6e9a5f9087c43a910d92e authored over 5 years ago by Maxim Kurnikov <[email protected]>
really drop universal

304cb19de603cbbee6833832074d7d2d96b7b98e authored over 5 years ago by Maxim Kurnikov <[email protected]>
only python3.6+ are supported

c57f4f7152df62bbb64c0d150c6922faa9ccad52 authored over 5 years ago by Maxim Kurnikov <[email protected]>
bump version

8a826fee1ee328747ee7d06eb39296c9e8826444 authored over 5 years ago by Maxim Kurnikov <[email protected]>
pin mypy version, django-stubs not yet supports mypyc

37d85c2ca6bf29b574acee2b211ed4fb7e5f09fe authored over 5 years ago by Maxim Kurnikov <[email protected]>
52/model subtypes dont typecheck (#55)

* Fix problem where Model instancess are not considered subtypes of each other due to fallback_t...

71fb0432f31ca36adf091d60c6f6e8f945556032 authored over 5 years ago by Seth Yastrov <[email protected]>
fix @classproperty return type (#58)

9288c3464832f69a52d51798cb2deab71fd0c701 authored over 5 years ago by Maxim Kurnikov <[email protected]>
drop --universal

70050f28b9c256a03b655e0fdb0b141458d6f7d5 authored over 5 years ago by Maxim Kurnikov <[email protected]>
bump version

4338c179700c40e29586810175c00ea895753e45 authored over 5 years ago by Maxim Kurnikov <[email protected]>
fix SessionBase.exists() return type (#57)

91f789c38c4b7b76b1f0625498fae6dc0a1d5907 authored over 5 years ago by Maxim Kurnikov <[email protected]>
bump version

0f5b45fba14b7dd3d68373551cac33283ea6b2d8 authored over 5 years ago by Maxim Kurnikov <[email protected]>
Specific return types for values and values list (#53)

* Instead of using Literal types, overload QuerySet.values_list in the plugin. Fixes #43.

- A...

5b455b729a6f50152a6ac019fa4452dbb62d2830 authored over 5 years ago by Seth Yastrov <[email protected]>
Add test to import all modules to check validity of stubs (#56)

* add import_all.test builder

* fix errors

* fix typechecking errors

* fix migrations t...

5c6be7ad121abb2bc8020b0a51c5c0a3981f7216 authored over 5 years ago by Maxim Kurnikov <[email protected]>
Fix errors in db.models.expressions and db.models.functions.* (#54)

* fix errors at db.models.expressions and db.models.functions.*

* catch KeyError if QuerySet ...

5d0ee40ada6668d27762f5fc23b6bb57d32bcd5b authored over 5 years ago by Maxim Kurnikov <[email protected]>
Configure black using pyproject.toml (#50)

77f15d7478739dfa3b6f9c1304f10728f228ff50 authored over 5 years ago by Konstantin Alekseev <[email protected]>
Use less specific types in validators args (#49)

4f83d8d1bb766c31659e9d99eb9aa69f1ccad446 authored over 5 years ago by Konstantin Alekseev <[email protected]>
Instead of using Literal types, overload QuerySet.values_list in the plugin. Fixes #43. (#44)

- Add a couple of extra type checks that Django makes:
1) 'flat' and 'named' can't be used to...

b1a04d2f7df54e98c23556f35e30b947155f2b40 authored over 5 years ago by Seth Yastrov <[email protected]>
forms/__init__ reimports

7c571433105be842b7dedc3dc150bfd6fdf3cbce authored over 5 years ago by Maxim Kurnikov <[email protected]>
bump version

c3d76f9a1ed62355322c743a83e364510d59cf11 authored over 5 years ago by Maxim Kurnikov <[email protected]>
fix classonlymethod, replace with six from typeshed

fde071b883c13324611a7ef32b30f9093434ef35 authored over 5 years ago by Maxim Kurnikov <[email protected]>
Support returning the correct values for the different QuerySet methods when using .values() and .values_list(). (#33)

* Support returning the correct values for the different QuerySet methods when using .values() a...

324b961d7464d7419e5886da9401a3f35481218d authored over 5 years ago by Seth Yastrov <[email protected]>
Fix type errors on other models' managers when using objects = models.Manager() in Model. (#34)

* Fix bug where models with a class variable using a manager defined would interfere with other ...

86c63d790bd21b3dbbd0d93a57b13b6f8ce05577 authored over 5 years ago by Seth Yastrov <[email protected]>
Add gzip_page decorator (#41)

* Add gzip_page decorator

* Update to preserve Callable

050c1b8887447fa25cebe6c8d6ab3d26a07b9951 authored over 5 years ago by Matt Basta <[email protected]>
bump version

8978ad471f2cec0aa74256fe491e2e07887f1006 authored over 5 years ago by Maxim Kurnikov <[email protected]>
Make CharField(blank=True) not be considered nullable (#39)

* Make CharField(blank=True) not be considered nullable

The documentation on [blank](https://...

f7dfbefbd6a6eb4fbb76d449c8b4e830c7981ca7 authored over 5 years ago by Richard Eames <[email protected]>
fix extension of django.views __init__ file

627daa55f5a95c4479e2aa5f2d08407a1031c8d2 authored over 5 years ago by Maxim Kurnikov <[email protected]>
bump version

194489ee8d525f57e83ff99d6b7ca9f937aa1e0c authored over 5 years ago by Maxim Kurnikov <[email protected]>
Remove _Val alias for MultiValueDict so that generic evaluate (#36)

* remove _Val alias for MultiValueDict so that generic evaluate

* fix multivaluedict init arg...

1d2c7fb8051a2e02a707e11eab8abb73e375ca83 authored over 5 years ago by Maxim Kurnikov <[email protected]>
set plugin_generated on new symbol nodes

18c908bf98ebb93e50494f7a1697d86cf4132160 authored over 5 years ago by Maxim Kurnikov <[email protected]>
Revert "dont convert to optional, if anytype"

This reverts commit 53f5d2214b3984852bf1a2f8ddeefbb90ba8c9ae.

e0e8814804b949231e761bd69aefb6fac31ce7a4 authored over 5 years ago by Maxim Kurnikov <[email protected]>
dont convert to optional, if anytype

53f5d2214b3984852bf1a2f8ddeefbb90ba8c9ae authored over 5 years ago by Maxim Kurnikov <[email protected]>
Disable note: messages (#35)

* add global note: ignore

9e4ed70fc528690b0a9e5fab07e692ea5b2df72d authored over 5 years ago by Maxim Kurnikov <[email protected]>
set fallback= for ini parser

18445f686f3a19f3ea1f0ae7558c09f3d18967e4 authored over 5 years ago by Maxim Kurnikov <[email protected]>
attempt to add flake8 and isort

c962b8ac68856e5ff39748444c20d8fb99ab9f0b authored over 5 years ago by Maxim Kurnikov <[email protected]>
add plugin testing for python3.6

70c3126348a706e5b39fa5eb13ca2126f4f5c0ee authored over 5 years ago by Maxim Kurnikov <[email protected]>
remove django from dependencies, it's not required for static analysis

af8ecc55200ddb50daef8a9cdfcbf13acc833be5 authored over 5 years ago by Maxim Kurnikov <[email protected]>
bump version

64f8870d0b4257ec8d6a46710169485a59ddaa24 authored over 5 years ago by Maxim Kurnikov <[email protected]>
fixes for FormMixin's get_form/get_form_class

df5c70c703d450249e82a3df938d8b1c1d822128 authored over 5 years ago by Maxim Kurnikov <[email protected]>
Merge pull request #29 from syastrov/queryset_in_bulk

QuerySet.in_bulk returns Dict with values of correct model type.

c09a97e005d41896dc97859bc82fb2f9116de5c1 authored over 5 years ago by Maxim Kurnikov <[email protected]>
Add possibility to pass list of test names as command-line arguments to typecheck_tests.py script.

0e30821ad36e06bd4064b19b34f94e3ad38096b5 authored over 5 years ago by Seth Yastrov <[email protected]>
Change in_bulk id_list param to Iterable rather than Sequence.

2dadd681ffeda03ee252ff0cb105f22b0a2cce55 authored over 5 years ago by Seth Yastrov <[email protected]>
Merge branch 'master' into queryset_in_bulk

2dec3b432516d96b4976cb2764604d56ab731748 authored over 5 years ago by Seth Yastrov <[email protected]>
QuerySet.in_bulk fixes.

- Made id_list of type Sequence[Any], rather than Any, according to mkurnikov's review.
- Remove...

3b8c5d08e8d83069ddedb11f6af93a3d3bd084bd authored over 5 years ago by Seth Yastrov <[email protected]>
fix HttpResponse stubs by removing AnyStr

eaee3d390f840d90f4428f19fa743f022a327c6d authored over 5 years ago by Maxim Kurnikov <[email protected]>
fix some stubs

b686751f193fc4981935f3bf2be5a84f71b62b95 authored over 5 years ago by Maxim Kurnikov <[email protected]>
rework django.views

73ea68235609d0c4513a58d4f03b9d213e0328fc authored over 5 years ago by Maxim Kurnikov <[email protected]>
bump version

9ea25f3e5693cdb50422fd224fe9ea92a570ffb8 authored over 5 years ago by Maxim Kurnikov <[email protected]>
optimize hooks a bit

dacf88c692a66e09b5006599467ab85f202f16af authored over 5 years ago by Maxim Kurnikov <[email protected]>
incremental = True for plugin tests should be fixed now

3d14d07e4ef8300f774626fc1802ae9fdd0a7847 authored over 5 years ago by Maxim Kurnikov <[email protected]>
enable incremental mode for tests, disable it for one so that it would pass

6e6d1645d32952dd13084394831f96ef2dfa19bc authored over 5 years ago by Maxim Kurnikov <[email protected]>
QuerySet.in_bulk returns Dict with values of correct model type.

- The keys are still Union[int, str] which doesn't cover all
possibilities, but it's not possibl...

cda703a94bc36fe3c5d1c620c692ed6b314a061e authored over 5 years ago by Seth Yastrov <[email protected]>
forms, generic views fixes

2bd018951b8752d4c20192e03ec489e5ddfa420a authored over 5 years ago by Maxim Kurnikov <[email protected]>
add nested Meta inheritance support for forms

14ea848dd7de9cf5df506e2a4425ed067df507f7 authored over 5 years ago by Maxim Kurnikov <[email protected]>
fix form errors in CI

2d3b5492f09b4226009f853278d091b228fbb74d authored over 5 years ago by Maxim Kurnikov <[email protected]>
Merge pull request #23 from syastrov/better-types-for-transaction-atomic

Add better typings plus test for transaction.atomic.

194258ab8e4767cdd8c6593792c3ec6c7697947a authored over 5 years ago by Maxim Kurnikov <[email protected]>
clean up forms

116aa2c5398f37865590b8059581de8c46ed20b6 authored over 5 years ago by Maxim Kurnikov <[email protected]>
Add better typings plus test for transaction.atomic.

- All cases are handled, including bare decorator (@transaction.atomic).
- Decorated function's ...

67c99434e5bad1108081addd1b9b65c078a96ff5 authored over 5 years ago by Seth Yastrov <[email protected]>
fix integer set type

5d8cdbcf2975030c3d40ad2adbc4a8bc336c07e7 authored over 5 years ago by Maxim Kurnikov <[email protected]>
Merge pull request #26 from roderik333/supertype-processformview

*args and **kwargs changed from 'object' to 'str' and 'any' in post()…

78810f55b670f84a440f1c79b1e3f642f0b680fe authored over 5 years ago by Maxim Kurnikov <[email protected]>
*args and **kwargs changed from 'object' to 'str' and 'any' in post(), put() and get()

36662896bcd408071b184c6be333f04137d81f0e authored over 5 years ago by Rune Steinnes <[email protected]>
Merge pull request #24 from roderik333/replace-wsgirequest-in-loginrequiredmixin

Replaced WSGIRequest with http.HttpRequest in mixin:LoginRequiredMixin

e54dbb79c9b3981ea958900d5917b767b6aaaaea authored over 5 years ago by Maxim Kurnikov <[email protected]>
Replaced WSGIRequest with http.HttpRequest in mixin:LoginRequiredMixin

41f283552a2fb0474ad9e5cbb1eaa635eaa0e53a authored over 5 years ago by Rune Steinnes <[email protected]>
add support for models defined in the same module be specified as name of class in related fields

ab73d53ae52214d1dd09d41fc9b3d3de20b0ad2b authored over 5 years ago by Maxim Kurnikov <[email protected]>
add supported versions to README

d24be4b35fdc57b75017009ee6a4c06757ace76f authored over 5 years ago by Maxim Kurnikov <[email protected]>
fix *args, **kwargs for views.generic.base

9d60b472df1683f56431b50c7b3658a44d206f0f authored over 5 years ago by Maxim Kurnikov <[email protected]>
back to incremental = True for tests

632e063e22b6df7d1baf04afcc31b66ae1261d49 authored over 5 years ago by Maxim Kurnikov <[email protected]>
bump version

66224416b5d08338953b8b71059044ebc5c853c3 authored over 5 years ago by Maxim Kurnikov <[email protected]>
update django tests sources to latest commit

e5b2496eb547b581c0edb96742b6e0e19272b907 authored over 5 years ago by Maxim Kurnikov <[email protected]>
finish strict_optional support, enable it for typechecking of django tests

f980311be0ae9cc686b8e8a8a0159b79384e9e83 authored over 5 years ago by Maxim Kurnikov <[email protected]>
silence some false positives

400a0f04865866b1926f85b1cb43486762c02f76 authored over 5 years ago by Maxim Kurnikov <[email protected]>
remove redundant test

882ec71d23dfbef39de80e3a2e189d685df55423 authored over 5 years ago by Maxim Kurnikov <[email protected]>
preliminary support for strict_optional

e9f9202ed1b4fc5ffc50434d9047ec184c939c88 authored over 5 years ago by Maxim Kurnikov <[email protected]>
some strict optional fixes

6763217a8060b3a7f09b76b2a07873414cef0382 authored over 5 years ago by Maxim Kurnikov <[email protected]>
move to pypi version of pytest plugin

6da5ead6f03848cf8715dbcfb784f641656de635 authored over 5 years ago by Maxim Kurnikov <[email protected]>
fix redefining field with name id with different than int type

c382d6aa2fcb047bd4acbed82c4ab8f1e61baff7 authored over 5 years ago by Maxim Kurnikov <[email protected]>
chmod +x

63a14f7107eb6e7f39632ce80713bc42505ef0f6 authored over 5 years ago by Maxim Kurnikov <[email protected]>
fix setup.py definition

dc33dd94932bf7f783fce7a64b046688ff978a57 authored over 5 years ago by Maxim Kurnikov <[email protected]>
bump version

4cb10390cfa5343ca054b9ec8881a873d8d07000 authored over 5 years ago by Maxim Kurnikov <[email protected]>
fix stale import

c1640b619f729bdf0892e832a4cf7090a1b44c63 authored over 5 years ago by Maxim Kurnikov <[email protected]>
fix star import parsing for settings

a08ad80a0d81d349b06f0d01ad0104e66499f183 authored over 5 years ago by Maxim Kurnikov <[email protected]>
add default for MYPY_DJANGO_CONFIG

f30cd092f1a8f978774d44692dc54e732480c453 authored over 5 years ago by Maxim Kurnikov <[email protected]>
enable 'validation' test folder

dcd9ee0bb80d4d6b4972971e3914d2f2300cd2ad authored over 5 years ago by Maxim Kurnikov <[email protected]>
add properly typed FOREIGN_KEY_FIELD_NAME_id fields to models

26a80a82796a563d60c384fd565d237871ce2e8d authored over 5 years ago by Maxim Kurnikov <[email protected]>
lint

82de0a8791bcb45cf6fdafb46f42b045143cb932 authored over 5 years ago by Maxim Kurnikov <[email protected]>
add more test folders

79ebe20f2e36198720c52128e216c2a80db86649 authored over 5 years ago by Maxim Kurnikov <[email protected]>
more accurate types for from_queryset()

587c2c484b81bd4c33486215553bc4b1f0764e51 authored over 5 years ago by Maxim Kurnikov <[email protected]>
add support for default related managers, fixes #18

4a22da29cb45be520748dc546a9bf20d01ef719d authored over 5 years ago by Maxim Kurnikov <[email protected]>
preserve fallback to Any for unrecognized field types for init/create

70378b8f40aa2b3f0513eaed1a06a2ebbf882505 authored over 5 years ago by Maxim Kurnikov <[email protected]>
add support for get_user_model(), fixes #16

b7f7713c5aed73a21c5c5a9f98913d7c576fd70d authored over 5 years ago by Maxim Kurnikov <[email protected]>