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
Specified dict[type[Model], set[Model] | list[Model]] type for Collecor.data attribute.
d1a1c81f7c8d14d0aeed06e72e2ef5ca651f750a authored almost 2 years ago by Anvansh <[email protected]>6ea1eaf425be1e4603baf693b0bd5b7082a9d49e authored almost 2 years ago by Marti Raudsepp <[email protected]>
Bumps [gitpython](https://github.com/gitpython-developers/GitPython) from 3.1.30 to 3.1.31.
- [...
2684efe4a7add0bd5d03c38576a6b31d687991b1 authored almost 2 years ago by Adam Johnson <[email protected]>
cf8c0a65a61bfa452ae9c4883a56336fb732f3b0 authored almost 2 years ago by Marti Raudsepp <[email protected]>
0bb7dbb64d1cc0e80986d2531e444f9f3f65f832 authored almost 2 years ago by Petter Friberg <[email protected]>
* Upgrade to Mypy 1.0
* Add type ignore for unreachable code
* Remove unused type ignores
2dcb47c3f70c54466086405b94d67c5e82fc82c7 authored almost 2 years ago by Christian Bundy <[email protected]>Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
b4f1c3c768fad342eeda2c4945eaad9c21b06e9d authored almost 2 years ago by Adam Birds <[email protected]>Black 23 introduced some changes to the stable formatting style, but very trivial in this projec...
de0c34c7811eb73d12abc78b964244d1970bfdf5 authored almost 2 years ago by Marti Raudsepp <[email protected]>
updates:
- [github.com/pycqa/isort: 5.11.4 → 5.12.0](https://github.com/pycqa/isort/compare/5.1...
The `typecheck_tests.py` script only supports the Django versions
included in its `DJANGO_COMMI...
Recommended mypy version updated, supported Django versions same as previously.
53387691865d2c3c8be2e7b68afaa94ce6e072b6 authored almost 2 years ago by Marti Raudsepp <[email protected]>2ddd42058b49d6e53aa3542ab1486579c93d41de authored almost 2 years ago by Nils Van Zuijlen <[email protected]>
Currently, we get many of the following errors when trying to pass our Django code through mypy:...
b201f909a1e5c8f51643107995806409d19da22c authored almost 2 years ago by DS/Charlie <[email protected]>Co-authored-by: Nick Pope <[email protected]>
32e5ebcfc5adf6dcc1fa7df10e2eef6d088ed782 authored almost 2 years ago by Marti Raudsepp <[email protected]>Plugin previously crashed running the provided test case, now it yields an intended error messag...
e6d65d2005129d457eef03724fc3c8cee136f35b authored almost 2 years ago by Petter Friberg <[email protected]>Problem: The Django docs say that you can "return an HttpResponse (or subclass) from your action...
832163dad64298f00efe4c4b1b210bd6f766f8b0 authored almost 2 years ago by Christian Bundy <[email protected]>Made a few tweaks that were needed to get our CI passing with mypy 0.991.
9874789bea016a567cf8372cb0e695d9615a5324 authored almost 2 years ago by Marti Raudsepp <[email protected]>Avoid crashing when queryset filters on an implicit pk field for a model, when model is abstract.
d716b496a60d6269b1c5316d867419a57e11e69e authored almost 2 years ago by Petter Friberg <[email protected]>
* Fix overloading of GeoDjango Layer.get_geoms
* geometry's wkb is memoryview, not bytes
* Fix...
PASSWORD_RESET_TIMEOUT was added in Django 3.1,
PASSWORD_RESET_TIMEOUT_DAYS was removed in 4.0....
If we've found an attribute on a model class that from all we can see
appears to be a field, bu...
7d50e5b1eaedc9e95dc8ed35f10f93ec73239ae0 authored almost 2 years ago by Marti Raudsepp <[email protected]>
This reverts commit cb2f2339ff31851ff29811c27288f821e59a2b8e.
That change causes false positi...
c81f3733a804d3f0f4b069a4d4bcf12ec91a3961 authored almost 2 years ago by Marti Raudsepp <[email protected]>
Bumps [requests](https://github.com/psf/requests) from 2.28.1 to 2.28.2.
- [Release notes](http...
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.2.0 to 7.2.1.
- [Release notes](htt...
* fix markdownlint violations in README
* add FAQ entry regarding StrPromise
6d883cdab9344e6dff5da4a42b2794a5d22c06a6 authored almost 2 years ago by Martin Lehoux <[email protected]>
1c482dc16db7a521fc9f99d3ae5269c7ca0a0b48 authored almost 2 years ago by Matthias Schoettle <[email protected]>
ab8bf7fcff7d112698b06854302744c8b3277faa authored almost 2 years ago by Jimmy Lai <[email protected]>
Fixes #1284.
e731b36bc72de4ba776b0282579601a9379511ce authored almost 2 years ago by Nick Pope <[email protected]>* Remove several things from `GeoAggregate` and `GeoFuncMixin` where the inherited types are cor...
a7a15185a5ede9b487cf40ec02da08527b81afc5 authored almost 2 years ago by Adam Johnson <[email protected]>Co-authored-by: Marti Raudsepp <[email protected]>
a868e74442dbf8e1f4e851256a2c20e3a8628c2a authored almost 2 years ago by Adam Johnson <[email protected]>* Improve system check registry hints
* Review comments
* Review comments & test tweaks
...
8ade0022d91e807bf7a02e309c2cb9abfa7f1671 authored almost 2 years ago by Marti Raudsepp <[email protected]>6310e896c1504174557e01c9337409f1cbb7e883 authored almost 2 years ago by Adam Johnson <[email protected]>
c1794bed1142d9f815d18101a6c3ab3a31ca5ffd authored almost 2 years ago by Petter Friberg <[email protected]>
- Provide more specific type-hints for GeoDjango modules.
- Fixed some missing exports in `cont...
* Make SpatialReference accept int
* Make CoordTransform only accept SpatialReference
* Narrow...
Co-authored-by: Nils VAN ZUIJLEN <[email protected]>
eff8175f47ceaadb5a2f2a5923da9e4d93b50620 authored almost 2 years ago by Nils Van Zuijlen <[email protected]>request is passed to `loader.render_to_string()`, where the function signature is `render_to_str...
57b604e7ee1900ace90737896261d4132c23b4e3 authored almost 2 years ago by David Smith <[email protected]>f34a626b3bcb61ef1b1a6afd18971a9af8a37e6b authored almost 2 years ago by Matthias Schoettle <[email protected]>
* add support for send_mail subject using gettext_lazy
* Delete test_init.yml
Co-authored-...
79276804b49f98b64f2c627f995832b469dc0338 authored almost 2 years ago by Matthias Schoettle <[email protected]>
Bumps [gitpython](https://github.com/gitpython-developers/GitPython) from 3.1.29 to 3.1.30.
- [...
* Used _ContextKeys for context like dicts
* Updated context like dicts to dict[_ContextKeys,...
cb2f2339ff31851ff29811c27288f821e59a2b8e authored almost 2 years ago by David Smith <[email protected]>* Added types for template.backends.django.Template
* Changed origin import
c3949b62db707b6017dfd36ce5224e39765f2b2f authored almost 2 years ago by David Smith <[email protected]>
updates:
- [github.com/pycqa/isort: v5.11.3 → 5.11.4](https://github.com/pycqa/isort/compare/v5...
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.20.0 to 2.21.0.
- [Release ...
* Enhance support for gettext_lazy in AdminSite and ModelAdmin
* Delete test_sites.yml
Co-...
35eba6b87bec3bce25ef84f80849566335baa532 authored about 2 years ago by Romain Clement <[email protected]>Co-authored-by: Sergei Shishov <[email protected]>
a37568f0d8564d2d61d34e5f57070734ce7ef822 authored about 2 years ago by Sergei Shishov <[email protected]>
updates:
- [github.com/pycqa/isort: 5.11.0 → v5.11.3](https://github.com/pycqa/isort/compare/5....
Some follow-up additions on top of #1267:
* Added tests
* The `@display` decorator now suppo...
- Type annotations of `django.contrib.admin.decorators` previously changed the signature of the ...
f80c2878534499d82fdb634481686534101c0796 authored about 2 years ago by Petter Friberg <[email protected]>
updates:
- [github.com/asottile/pyupgrade: v3.3.0 → v3.3.1](https://github.com/asottile/pyupgra...
Bumps [black](https://github.com/psf/black) from 22.10.0 to 22.12.0.
- [Release notes](https://...
Removed unnecessary `Self` hints on classproperty methods.
The removal of `self: Self` fixes ...
16fde01583fafd496c8f3c7587a7630925e191de authored about 2 years ago by Marti Raudsepp <[email protected]>* Version 1.13.1 release
* Update setup.py
* Update requirements.txt
090aea6783a4fa45ab6419fb2c22c286d8a5852c authored about 2 years ago by Nikita Sobolev <[email protected]>
updates:
- [github.com/asottile/pyupgrade: v3.2.2 → v3.3.0](https://github.com/asottile/pyupgra...
* Add django 4.0 trigram word classes
* Fix argument order for TrigramWordBase and remove red...
3210e2dad9461e4b981a26d43d373ab1876f67d7 authored about 2 years ago by Michael Lazar <[email protected]>Older flake8-pyi is not compatible with flake8 v6.
efa57fb5b7156e3ccc0b53d2764084d02b966dd3 authored about 2 years ago by Marti Raudsepp <[email protected]>
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v4.4.0](https://github.com/pre-com...
ff81496bef6b3e5666a1726c9e8c1e2d9180b65d authored about 2 years ago by Terence Honles <[email protected]>
* Remove unneeded type ignores
* Use generic when creating a manager
* Remove redundant ty...
9a34eae379804a2ddb6ffe37715a5fe284d90e10 authored about 2 years ago by Ben Spaulding <[email protected]>fa972f1632fb69861c913f2bf359fcf4d2284d7a authored about 2 years ago by Petter Friberg <[email protected]>
Co-authored-by: Nikita Sobolev <[email protected]>
Co-authored-by: Adam Johnson <[email protected]>
Signed-off-by: Oleg Hoefling <[email protected]>
Signed-off-by: Oleg Hoefling <oleg.hoe...
a1c192c267e2f4ee110ca3c4df4a485c727138a7 authored about 2 years ago by Oleg Höfling <[email protected]>
updates:
- [github.com/asottile/pyupgrade: v3.2.0 → v3.2.2](https://github.com/asottile/pyupgra...
Signed-off-by: Oleg Hoefling <[email protected]>
Signed-off-by: Oleg Hoefling <oleg.hoe...
377d43285b0d76d62fbe877decb82be65841129e authored about 2 years ago by Oleg Höfling <[email protected]>fbdac9592a910ff98f3950913621b59fc8d210f7 authored about 2 years ago by Oleg Höfling <[email protected]>
* only allow redirect_chain attribute in response when client sets the follow flag
Signed-off...
b81b1bf3868eaab9fecebdd56ed817ffcb07fad8 authored about 2 years ago by Oleg Höfling <[email protected]>Closes #1237.
1b8c1b50a287f4b78d78165c8387f0a4976a5972 authored about 2 years ago by joshua-jandyco <[email protected]>a0e98a2f6bdbe8a47b135d87a81a72f3ace99ddf authored about 2 years ago by Michael K <[email protected]>
eb0628d8ed8069e651c12b9ec5085a7ca785f53a authored about 2 years ago by Adam Johnson <[email protected]>
cb5f20157c78f65b74fa5fb6f07659363cedfd06 authored about 2 years ago by Anders Kaseorg <[email protected]>
* Typehint common dunder methods
* Additional hints: __hash__, __iter__, __copy__, __deepcopy__...
Fixes #1235. It seems this was caused by a new feature in mypy 0.990 involving `hasattr()`.
35847cc48cfa27baff020ae56c217bee57a63e83 authored about 2 years ago by Marti Raudsepp <[email protected]>
updates:
- https://gitlab.com/pycqa/flake8 → https://github.com/PyCQA/flake8
- [github.com/PyC...
428c17500a1d89597ebf50bcaef818f616ceee18 authored about 2 years ago by Guillaume Andreu Sabater <[email protected]>
* Replace str with _StrOrPromise where the latter is expected.
Fixes #1231
Signed-off-by: ...
a59eacdeaefb4aa8379c9ac841d14a6f3f3485d8 authored about 2 years ago by Zixuan Li <[email protected]>* move _default_manager to ModelBase
* fix for mypy check
* Update base.pyi
* Update ba...
f4cf7f2847ea59744bc081916eb9e24c5ea794cd authored about 2 years ago by Clouds <[email protected]>Co-authored-by: Adam Johnson <[email protected]>
a007013a49378d60a57558867719b5e8565e5f3e authored about 2 years ago by Anders Kaseorg <[email protected]>fd1bfdfa259bdd3d084ed9ea2d1a1bcf7617143c authored about 2 years ago by Nikita Sobolev <[email protected]>
This also re-export `QuerySetAny` for external access to
nongeneric QuerySet.
The approach t...
e88f942f861809d2b824ecc12b908c8c90bbf6d2 authored about 2 years ago by Zixuan Li <[email protected]>* Add SQLite backend is_in_memory_db() functions
* Update django-stubs/db/backends/sqlite3/cr...
1d78b8ffacd1be926fbad0a45431db0d31b4fd39 authored about 2 years ago by Adam Johnson <[email protected]>e865c5b40f693106165873c7121039bec2e2dfd9 authored about 2 years ago by Nikita Sobolev <[email protected]>
* Cancel old pipelines
Closes #1225
* Update setup.py
* [pre-commit.ci] auto fixes from...
5edf2e821760d2979e55352e5b7f3a6d5abc3066 authored about 2 years ago by Nikita Sobolev <[email protected]>7f0dd143f7f0299ed0de0a778b99ae2002380a48 authored about 2 years ago by Nikita Sobolev <[email protected]>
* Update .pre-commit-config.yaml
* Update setup.py
* [pre-commit.ci] auto fixes from pre-c...
3fbfa1e13cb4f1488433ef25d9e55671476f528c authored about 2 years ago by Nikita Sobolev <[email protected]>Co-authored-by: Adam Johnson <[email protected]>
a82c83f89740ab992612a9c3986deaa0ef49f38d authored about 2 years ago by Sigurd Ljødal <[email protected]>d4899596de8297707935f232d1255b882aafbd69 authored about 2 years ago by sobolevn <[email protected]>
* Add some types to views
* Remove GeoModelAdmin.formfield_for_dbfield
0381fdb0227f0db96a584d8e916ae6d8b3d025a3 authored about 2 years ago by Adam Johnson <[email protected]>f566734799afd7bbcd20290958fc1424b067a262 authored about 2 years ago by Adam Johnson <[email protected]>
2a17d3f08f84debc6bf707f13d82532ed0452df4 authored about 2 years ago by Adam Johnson <[email protected]>
* Fill remaining missing hints with Any & disallow partial hints
* ModelFormatDict -> _ModelF...
8f475fa0a6c21c8641cb959531234bc951218a5e authored about 2 years ago by Marti Raudsepp <[email protected]>* Add type hints to all test code
* Fixes
* Fix indentation
* Review fixes
e3c131bc61564e960701b3d30eb11025c90da563 authored about 2 years ago by Marti Raudsepp <[email protected]>Co-authored-by: sobolevn <[email protected]>
9b4162beb1ebe5c62ab0b4aa14734a649bc4c699 authored about 2 years ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>* BaseDeleteView now extends FormMixin
Co-Authored-By: Simon Kohlmeyer <simon.kohlmeyer@gmail...
7bce5c2081ef2b7bc84daca68d0f3d11a38bdf66 authored about 2 years ago by Adam Johnson <[email protected]>* fixed F asc & desc signature
* improved BaseExpression asc & desc signature
875acf76d7373fb79c550666cf1d54d87db9b0c7 authored about 2 years ago by Guillaume Andreu Sabater <[email protected]>* Add lots of missing argument & return type hints
Discovered by setting mypy options disallo...
36044c98b8851eae70b58160c8214e8e60bd2e95 authored about 2 years ago by Marti Raudsepp <[email protected]>Co-Authored-By: Ryan Vinzent <[email protected]>
Co-authored-by: Ryan Vinzent <ryan.vi...
e20d5307d1f1888a144cbb38530ed6d06e864568 authored about 2 years ago by Adam Johnson <[email protected]>ae5af12c9b82dfc028af9fd3857a610f964c32c9 authored about 2 years ago by Adam Johnson <[email protected]>