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
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.4.0 to 7.4.1.
- [Release notes](htt...
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.3.3 to 3.4.0.
- [Release no...
Should give a slight performance improvement as we don't need to
iterate over all models declar...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
3a1f1398aac4ca352b69beffe2be030921e9b952 authored over 1 year ago by Marti Raudsepp <[email protected]>
Mypy requires some attributes to be abstract in order to make the class
abstract, so we mark mod...
* Add get_attname_column method of models.Field
Add type declaration of the get_attname_colum...
9e7e915c2d6ba56f2320d3846894ac7a9d0c8d92 authored over 1 year ago by Mathias Millet <[email protected]>Should simplify the hook requirement and remove some unnecessary code.
81a543a070aa9596e3296db88563057f31b1e5df authored over 1 year ago by Petter Friberg <[email protected]>
Moves `django_stubs_ext` to a directory named `ext/`, which doesn't
collide with its installati...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.0.285 → v0.0.286](https://github.com/astra...
Remove SuccessURLAllowedHostsMixin and replace it with RedirectURLMixin
Per Django 4.1 releas...
0117348c3c7713f25f96b46e53ebdeed7bdba544 authored over 1 year ago by Dan Groshev <[email protected]>
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.0.284 → v0.0.285](https://github.com/astra...
3c77add89ebc861fbafae9ea1a4e268122d81dbe authored over 1 year ago by Adam Johnson <[email protected]>
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.0.282 → v0.0.284](https://github.com/astra...
712fa823eb2608e917947279b31a8043a4f3e97b authored over 1 year ago by Kader M <[email protected]>
325006ccd72a9b838cf841b1c61ba4092b084f99 authored over 1 year ago by Zuzel Vera <[email protected]>
bf0b6f41ed1574e27db70e7d6443d16890c459bd authored over 1 year ago by Adam Johnson <[email protected]>
Co-authored-by: Marti Raudsepp <[email protected]>
e2dc4eaebcd790a1f33e4ef56de32eeb55568a26 authored over 1 year ago by Anthony Sottile <[email protected]>45bfe051c35ec4e80d2241095c36e67ef1836c30 authored over 1 year ago by Christian Clauss <[email protected]>
Bumps [django](https://github.com/django/django) from 4.2.3 to 4.2.4.
- [Commits](https://githu...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.0.280 → v0.0.281](https://github.com/astra...
Bumps [pytest-mypy-plugins](https://github.com/TypedDjango/pytest-mypy-plugins) from 2.0.0 to 3....
e70ec130913c499e31a0ba9dbb3ae5bc33ab9eff authored over 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>URL patterns can be marked translatable using the gettext_lazy() function.
Ref: https://docs....
33bfa3a503905baf6c89ca503e2e9a626e79e430 authored over 1 year ago by Roman Imankulov <[email protected]>* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0...
e8cf347d09df0c771d9d539c5d065b874a8b2fc6 authored over 1 year ago by Nikita Sobolev <[email protected]>
0b18d27334e494c110b76a88e82944038ae4fb93 authored over 1 year ago by Anthony Sottile <[email protected]>
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0...
Fixes 106 stubtest errors
cef666da8a155ad4bd380fa9157429d277c64237 authored over 1 year ago by Thibaut Decombe <[email protected]>Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2b1a4cdf8692bc2e88431d08fbe064665bb1b207 authored over 1 year ago by Nikita Sobolev <[email protected]>
This should accept plain string. It sends the argument on to escape,
which forces the argument ...
2502123c294ab5b41223077bd1aa5014889d25c6 authored over 1 year ago by Nikita Sobolev <[email protected]>
Bumps [black](https://github.com/psf/black) from 23.3.0 to 23.7.0.
- [Release notes](https://gi...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.0.276 → v0.0.277](https://github.com/astra...
* Declare View.http_method_names as Sequence
* Delete test_base.yml
---------
Co-author...
45b4fafe2f71741e02f4ef30e9a0401cc77b028a authored over 1 year ago by q0w <[email protected]>18581d2e11edbb60203596eddeff2d31f14ff20c authored over 1 year ago by Anthony Sottile <[email protected]>
* Update Django to 4.2.3
* Update allowlist_todo.txt
99c745b67713d716a702952fee528f30cee11c60 authored over 1 year ago by Nikita Sobolev <[email protected]>Refs https://github.com/typeddjango/django-stubs/issues/1412
640f2c7019a8f3e4db8edd7a65eaf49d9308995b authored over 1 year ago by Nikita Sobolev <[email protected]>* Unhide errors do to missing installed apps
bash ./scripts/stubtest.sh | rg note | cut -d" "...
06dd9864618563660d58ab5b542bc8bc4d229ed3 authored over 1 year ago by Thibaut Decombe <[email protected]>
updates:
- https://github.com/charliermarsh/ruff-pre-commit → https://github.com/astral-sh/ruff...
5756de31f53996a1853d5e9afc16feddd4c1a608 authored over 1 year ago by Adam Johnson <[email protected]>
2ea83a7088d1ab28631b30b8eb2555faabae0685 authored over 1 year ago by Marti Raudsepp <[email protected]>
* fix: #1594 MiddlewareMixin.__call__ -- Return type incompatible with supertype
Co-authored-...
dbf5be3dbd9e61f281a32f1003282bdb117c53ef authored over 1 year ago by Gabriel Dugny <[email protected]>Co-authored-by: Adam Johnson <[email protected]>
011b641bb272f0b5ddb980e8199ec07f877de730 authored over 1 year ago by Gabriel Dugny <[email protected]>567aec42848b71338e1954f0e2fb5b490c7ad9c7 authored over 1 year ago by Nikita Sobolev <[email protected]>
Bump `pytest-mypy-plugins` and improve `jinja2` stubs
---------
Co-authored-by: pre-commit...
5f0e8bc1399b29e7572859d49d4b8ae7fc74f455 authored over 1 year ago by Nikita Sobolev <[email protected]>08a11d7f863aac88df0635550983033da4aff5ec authored over 1 year ago by Nikita Sobolev <[email protected]>
Co-authored-by: Joe Hitchen <[email protected]>
fd905b5ac609a0758520593fe9d94a44ef595821 authored over 1 year ago by JoeHitchen <[email protected]>* BigIntegerField has MAX_BIGINT
https://github.com/django/django/blob/21e686471598d6c755d93a...
8c08d3536f28d48805067cdddeef6b75308e50c7 authored over 1 year ago by Anthony Sottile <[email protected]>* Convert _typeshed.Self usages to typing_extensions.Self
`typing_extensions.Self` is easier ...
96996b722c57fe9be1a0d0c7db4ae02e36c57824 authored over 1 year ago by Marti Raudsepp <[email protected]>5806511cae227511ac1494af53b5a2fb8b759bf4 authored over 1 year ago by Marti Raudsepp <[email protected]>
* fix: wrong argument order for SRIDCacheEntry
* fix: remove legacy arguments for EmailValida...
ed7d978582cb65f9681f6c07efda8b5833a3befe authored over 1 year ago by Gabriel Dugny <[email protected]>
* Update compatible-mypy to 1.4.x
* Updated CI to mypy 1.4.1
* Add code comment & use simpler ...
* Stub memcache_key_warnings
Stubs the function memcache_key_warnings
* Remove from todo
...
fcd4fa0e58b6aca7d4e955de6f1a59eb325c1bdc authored over 1 year ago by Adam Johnson <[email protected]>
c047210a255c062f83a08c03f0e79ca54e9a6212 authored over 1 year ago by Adam Johnson <[email protected]>
updates:
- [github.com/charliermarsh/ruff-pre-commit: v0.0.272 → v0.0.275](https://github.com/c...
* fix: misc type fixes against 4.2
* chore: type config
* chore: improve typings for migra...
389d98629e30c4e48db560e7831c3febb2993bbf authored over 1 year ago by Gabriel Dugny <[email protected]>* Type all utils.* against Django 4.2
* fix: cached_property.name could be None
* fix: Ses...
7ce5692a3eb83ec04c02031d2c2a7a29146680da authored over 1 year ago by Gabriel Dugny <[email protected]>* Add "Settings" section to README
* Update README.md
Co-authored-by: Marti Raudsepp <mart...
43e4ef03a0b922452b302705230780e640820b1d authored over 1 year ago by Nikita Sobolev <[email protected]>The choice of Python 3.9 was arbitrary. As agreed in another PR, we should use the newest suppor...
bbd0636dde27ee84478cd6eda902d8d3a43e33ec authored over 1 year ago by Marti Raudsepp <[email protected]>73f0a79003a057b42399432eb01997496fc63d63 authored over 1 year ago by Marti Raudsepp <[email protected]>
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.3.2 to 7.4.0.
- [Release notes](htt...
* Update `flake8` plugins
* Fix lint rules
940c17883b67a5ece339f5397e761cfdc4831a96 authored over 1 year ago by Nikita Sobolev <[email protected]>c3664355141a7db713f7ae158ce805c382be48a8 authored over 1 year ago by Nikita Sobolev <[email protected]>
3caea3fda0cef99333cc10e976757ed63a3a2335 authored over 1 year ago by Nikita Sobolev <[email protected]>
* fix: Window.order_by accepts str field_names, asc/desc accepts None in 4.1+
See https://doc...
c029dd8895a1516f48ec3edd00ea107df4b63a73 authored over 1 year ago by Gabriel Dugny <[email protected]>* remove extra `--generate-allowlist`
* Update stubtest.sh
* Update allowlist_todo.txt
...
846ba955ab0d04a14182665a1aebdab8023aee70 authored over 1 year ago by Nikita Sobolev <[email protected]>* chore: set Black Python target-version to 3.8+
* chore: reformat with new settings
2fe1bb09950f54226243faf2131a74626de4fa9d authored over 1 year ago by Gabriel Dugny <[email protected]>* Bump mypy from 1.3.0 to 1.4.0
Bumps [mypy](https://github.com/python/mypy) from 1.3.0 to 1....
510499b641bb02f0772f755debdc5e2a31b3c7e9 authored over 1 year ago by Christian Bundy <[email protected]>* feat: type db.backends introspection and operations on 4.2
* Update django-stubs/db/backend...
efc6d208c5004cf6d7dc790b836d65d995969c0f authored over 1 year ago by Gabriel Dugny <[email protected]>* Improve types for dispatch.dispatcher (Signal)
- Remove providing_args (removed in Django 4...
1ab19cd5bfe5a700f19d4b7a40a8c77d26ab71d9 authored over 1 year ago by Gabriel Dugny <[email protected]>b8cdf1bea08dd4484b89d40911106f1118c990a6 authored over 1 year ago by Nikita Sobolev <[email protected]>
This wasn't obvious from the code, but the conditional import is still necessary. I've added a c...
df80a5d1fb23acbd0b33b997e98a2b0f3caa83fc authored over 1 year ago by Marti Raudsepp <[email protected]>91dc6d31b8cb8ce49a985727331194ed26bb11c1 authored over 1 year ago by Nikita Sobolev <[email protected]>
* Add stubtest with lots of errors
* Update test.yml
* Add -ignore-positional-only for now...
2e97f0a0d75bc1368797c903bc03973a0acd34b3 authored over 1 year ago by Nikita Sobolev <[email protected]>8e7e4707c18ad359bda09a8e989bc46b25bc947b authored over 1 year ago by Nikita Sobolev <[email protected]>
cecef21b26531474807d89389a77d8f330f6056f authored over 1 year ago by Nikita Sobolev <[email protected]>
f93c0f35655395d2aa8accb5ef514b773746b2ae authored over 1 year ago by Adam Johnson <[email protected]>
* Add new postgres lookups
* New encoder parameter for django.utils.html.json_script
* `F` exp...
Turns out that I have forgotten to update Django versions in package classifiers.
f4649afcf5935fa30d26776c71fa9cae24c55cb6 authored over 1 year ago by Marti Raudsepp <[email protected]>* Run django-stubs-ext tests in full build matrix
This would help detect some issues earlier,...
635d2b625bb17e630dd13d5ea99ac03ffd937623 authored over 1 year ago by Marti Raudsepp <[email protected]>* Add failing test
* Fix related_model lookups for un-swapped models
* Handle possible unr...
e778561cfdbf64cfe6e2fd701c9225d2faddc8de authored over 1 year ago by Thibaut Decombe <[email protected]>c1cb879d1651c52ed2f1e6424af73aa7096aa1e3 authored over 1 year ago by Adam Johnson <[email protected]>
7bb360c5cd711d2d009cc43736118c6c8c6c8b8d authored over 1 year ago by Adam Johnson <[email protected]>
6da9ef0f11201e168cd3e3d35a50579e34981594 authored over 1 year ago by Alexerson <[email protected]>
1b62beb6a68bb4525e7e21a1eab3905bc7ae7686 authored over 1 year ago by filbasi <[email protected]>
67d79c5c4111d4c9d557dfbf043c387777b46c12 authored over 1 year ago by Adam Johnson <[email protected]>
The actual implementation has `dict[str, _StrPromise]` and subclasses matching that produce an e...
f8fefea51a1c1e3cb64da015655cbb8575d7c153 authored over 1 year ago by Anthony Sottile <[email protected]>
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.3.2 to 3.3.3.
- [Release no...
In Django this is a `cached_property`.
deae5eebd10b88c66bdca25e8fc6f7e332fcc510 authored over 1 year ago by Maarten ter Huurne <[email protected]>
updates:
- [github.com/charliermarsh/ruff-pre-commit: v0.0.270 → v0.0.272](https://github.com/c...
Since Django 3.1, the module-level `CLEANSED_SUBSTITUTE` has been
replaced by `SafeExceptionRep...
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.3.1 to 7.3.2.
- [Release notes](htt...
* Added missing headers= parameter to RequestFactory
* Changed from dict[] to Mapping[], immuta...
* Enable Ruff pyupgrade fixes
* I checked mypy issue 12211, Y037 suppression wasn't needed in t...
* CI: Remove unused imports using Ruff
* Suppress unused import in django-stubs/conf/__init__.pyi
Base class for Django database routers. Django documentation:
https://docs.djangoproject.com/en...
Bumps [django](https://github.com/django/django) from 4.2.1 to 4.2.2.
- [Commits](https://githu...
updates:
- [github.com/charliermarsh/ruff-pre-commit: v0.0.269 → v0.0.270](https://github.com/c...
* Add new headers parameter to test classes
* Tighten `extra` type hint for `Client` and `Asy...
87fddd3ed3bb1c2f7e6ffdda0c6f628fd160dab3 authored over 1 year ago by Alexerson <[email protected]>Source: https://github.com/django/django/blob/51fdea68415c580cd753990e3238ae2e0f015263/django/co...
0c87d59b7f3b8d211f17dc2959a28be3ae3aa553 authored over 1 year ago by Nikita Sobolev <[email protected]>