Ecosyste.ms: OpenCollective

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

TypedDjango

django-stubs, djangorestframework-stubs, pytest-mypy-plugins
Collective - Host: opensource - https://opencollective.com/typeddjangoorg - Code: https://github.com/typeddjango

Allow 'BaseExpression' in 'UniqueConstraint.expressions' (#1420)

github.com/typeddjango/django-stubs - 5e61acf94f73362f8fe4e5cfdd414ddb13c30c2a authored over 1 year ago by suayip uzulmez <[email protected]>
Added BaseConstraint.default_violation_error_message attribute hint (#1419)

* Added default_violation_error_message
* Changed str to _StrOrPromise in stub definition

github.com/typeddjango/django-stubs - fa61cfc0aad6cc60f92eebf32b54c3f3f6ff88d3 authored over 1 year ago by Anvansh <[email protected]>
Add test for overriding User model manager (#1401)

github.com/typeddjango/django-stubs - 323a6dbf339a10a9ebf72d44a66ff0cc685afbb7 authored over 1 year ago by Petter Friberg <[email protected]>
Allow setting SECRET_KEY to be str or bytes, add SECRET_KEY_FALLBACKS, update PasswordResetTokenGenerator (#1411)

Problem: SECRET_KEY could be either str or bytes, and it doesn't look like we have any support f...

github.com/typeddjango/django-stubs - 4faa6025f0352ee58230c38a933da84c34c41758 authored over 1 year ago by Christian Bundy <[email protected]>
Allow lazy translation strings for constraint 'violation_error_message' arguments, attributes (#1418)

Ensure 'violation_error_message' argument of constraints allows for lazy translation objects

github.com/typeddjango/django-stubs - 75c279268bb82a5ddb0ee1bfe93346574abcab99 authored over 1 year ago by suayip uzulmez <[email protected]>
Bump types-pytz from 2023.2.0.1 to 2023.3.0.0 (#388)

Bumps [types-pytz](https://github.com/python/typeshed) from 2023.2.0.1 to 2023.3.0.0.
- [Releas...

github.com/typeddjango/djangorestframework-stubs - a53cf81f566b739e7989ddf7165914a4bcbcfb92 authored over 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump types-pytz from 2022.7.1.2 to 2023.2.0.1 (#384)

Bumps [types-pytz](https://github.com/python/typeshed) from 2022.7.1.2 to 2023.2.0.1.
- [Releas...

github.com/typeddjango/djangorestframework-stubs - 0a618d81dd095073b81edee2e5dece6a8f378d27 authored over 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump types-requests from 2.28.11.16 to 2.28.11.17 (#385)

Bumps [types-requests](https://github.com/python/typeshed) from 2.28.11.16 to 2.28.11.17.
- [Re...

github.com/typeddjango/djangorestframework-stubs - ec8452c332156df1bd2a13984afa3518c6c4c1cc authored over 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sync pre-commit and requirements (#1417)

github.com/typeddjango/django-stubs - 6b9c33146cd3cd07dd7d590ff04be7c87e44373e authored over 1 year ago by Nikita Sobolev <[email protected]>
Bump types-urllib3 from 1.26.25.8 to 1.26.25.10 (#386)

Bumps [types-urllib3](https://github.com/python/typeshed) from 1.26.25.8 to 1.26.25.10.
- [Rele...

github.com/typeddjango/djangorestframework-stubs - 9f116481bcf5ce7d3637a72a6846d476a8f5a4be authored over 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump black from 23.1.0 to 23.3.0 (#1416)

Bumps [black](https://github.com/psf/black) from 23.1.0 to 23.3.0.
- [Release notes](https://gi...

github.com/typeddjango/django-stubs - 598052bd92ab6bd0b4e0941bac2e5ecccf7c9217 authored over 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Added missing stubs (#1413)

* Added missing stubs

* Added base constrain class to get_constraints

* Added app_label pa...

github.com/typeddjango/django-stubs - 9da7b146c88cecbe89946999acec9f1ca56b8811 authored over 1 year ago by Anvansh <[email protected]>
Bump types-requests from 2.28.11.15 to 2.28.11.16 (#380)

Bumps [types-requests](https://github.com/python/typeshed) from 2.28.11.15 to 2.28.11.16.
- [Re...

github.com/typeddjango/djangorestframework-stubs - d58d10bc69f2eac805168affa2d4afae70fd37f7 authored over 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Fix: OrderingFilter.get_default_ordering() may return None (#379)

github.com/typeddjango/djangorestframework-stubs - 1467ae62021eef0db2be135af85795f82cdec8cd authored over 1 year ago by Alberto Cerrone <[email protected]>
Added stub for where method (#1407)

* Added stub for where method

* mypy fixes

github.com/typeddjango/django-stubs - 5092bdf951edb6ef3ba23b28c7ec27b5a4635ee7 authored over 1 year ago by Anvansh <[email protected]>
Added missing stub for 'Query.join()' (#1404)

* Added stub for join

* Modified the stub according to the correct signature

* Corrected t...

github.com/typeddjango/django-stubs - ddf0864f82f259c1a835a1a127fd598c6405166d authored over 1 year ago by Anvansh <[email protected]>
Add tests for `QuerySet.select_related` returning queryset type (#1400)

github.com/typeddjango/django-stubs - 49055f881195adb912d77f8446465717cff7b3d1 authored over 1 year ago by Petter Friberg <[email protected]>
Add support for nested manager and queryset class definitions (#1392)

github.com/typeddjango/django-stubs - 348ae5f4896f023fa89d6bbc6e2b20de0f56f311 authored over 1 year ago by Federico Bond <[email protected]>
Version 1.10.0 release (#377)

github.com/typeddjango/djangorestframework-stubs - 0752c40703c6d09caa220f617995ee5807a6fe1e authored over 1 year ago by Marti Raudsepp <[email protected]>
Update `django-stubs` in `requirements.txt` (#376)

* Update `django-stubs` in `requirements.txt`
* Update `django-stubs-ext` as well to avoid a de...

github.com/typeddjango/djangorestframework-stubs - 10d46c2c2f434c99bcf016c972f54a1314eb9b4f authored over 1 year ago by Nikita Sobolev <[email protected]>
Version 1.16.0 release (#1396)

github.com/typeddjango/django-stubs - 6a850f693671b5d6b5665bd9d18ad054fca581da authored over 1 year ago by Marti Raudsepp <[email protected]>
Prepare django-stubs-ext 0.8.0 release (#1395)

github.com/typeddjango/django-stubs - dd92489802cce5db559b69072d9867e7e5f3520a authored over 1 year ago by Marti Raudsepp <[email protected]>
Update recommended mypy & CI to 1.1.1 (#374)

* Updated mypy to 1.1.1 for compatible-mypy and CI
* Minor tweak needed to typecheck ignores

github.com/typeddjango/djangorestframework-stubs - 49b4c5f8da95aed91039b01ba8711758603c0091 authored over 1 year ago by Marti Raudsepp <[email protected]>
Update recommended mypy & CI to 1.1.1, update MultiValueDict (#1391)

* Updated mypy to 1.1.1 for compatible-mypy and CI
* Fixes MultiValueDict.setdefault() compatib...

github.com/typeddjango/django-stubs - 0aa7bf1dc6effdc68b50e7c617ae2094e90a820c authored over 1 year ago by Marti Raudsepp <[email protected]>
Add validate_constraints method to the Model stub (#1388)

github.com/typeddjango/django-stubs - a63bcbe87c76089cf7bd0b5c6d58bdcf1e3f0e6f authored over 1 year ago by Alexander Overvoorde <[email protected]>
Bump pytest from 7.2.1 to 7.2.2 (#372)

Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.2.1 to 7.2.2.
- [Release notes](htt...

github.com/typeddjango/djangorestframework-stubs - a85d71c1a77a84943f6b449b7ad30d7aabe31120 authored over 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump pytest from 7.2.1 to 7.2.2 (#1386)

github.com/typeddjango/django-stubs - 74718282edb48bcffca50b77a4715d195ff77118 authored over 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Added validate_constraints keyword arg added to the full_clean stub (#1385)

github.com/typeddjango/django-stubs - 547d9232e18716080d1a53442e5494be81d12537 authored over 1 year ago by L K Livingstone <[email protected]>
Merge pull request #368 from typeddjango/dependabot/pip/types-requests-2.28.11.15

github.com/typeddjango/djangorestframework-stubs - 2d17f49ce4b21f87eea0f70f6433aa2778e10d72 authored over 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump types-requests from 2.28.11.14 to 2.28.11.15

Bumps [types-requests](https://github.com/python/typeshed) from 2.28.11.14 to 2.28.11.15.
- [Rel...

github.com/typeddjango/djangorestframework-stubs - 39056118ac030efd6d836dfb4a779aedf5d1e0cd authored over 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Merge pull request #369 from typeddjango/dependabot/pip/types-urllib3-1.26.25.8

github.com/typeddjango/djangorestframework-stubs - def33515ff40d828e717d0fe7df80cddd70dcf2b authored over 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump types-urllib3 from 1.26.25.7 to 1.26.25.8

Bumps [types-urllib3](https://github.com/python/typeshed) from 1.26.25.7 to 1.26.25.8.
- [Releas...

github.com/typeddjango/djangorestframework-stubs - 27171836c27bf96a88e7ccd11fd29034685b86d7 authored over 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Fixed types for `vary_on_headers` (#1370)

Co-authored-by: Marti Raudsepp <[email protected]>

github.com/typeddjango/django-stubs - a3cf15a6cbd80f024b893893a889bbec574013a2 authored over 1 year ago by Anvansh <[email protected]>
Allow user arg in `APIClient.force_authenticate` to be `None` (#367)

* Allow user arg in `APIClient.force_authenticate` to be `None`

* [pre-commit.ci] auto fixes ...

github.com/typeddjango/djangorestframework-stubs - ce22166ffba7d442a5aa239409b4d0b4c6f1f1ad authored over 1 year ago by Josh Thomas <[email protected]>
Release script: Also clean build directories before a build (#1378)

github.com/typeddjango/django-stubs - eb6c006c6f5f19b56891ef62aa20bf6fcf2364cf authored over 1 year ago by Marti Raudsepp <[email protected]>
Fixed type of AdminSite.site_url to allow None (#1379)

This is allowed to None as per docs https://docs.djangoproject.com/en/dev/ref/contrib/admin/#dja...

github.com/typeddjango/django-stubs - 0aec01be6d9dff4e044a737610179cf6b3f37153 authored over 1 year ago by LincolnPuzey <[email protected]>
Release script: Also clean build directories before a build (#366)

github.com/typeddjango/djangorestframework-stubs - 919b125cdbd62672e0aedfe7093ad15c09d263d8 authored over 1 year ago by Marti Raudsepp <[email protected]>
Version 1.9.1 release (#365)

Emergency release to fix packaging issues in yesterday's version.

github.com/typeddjango/djangorestframework-stubs - 98cca07668e032ec55f3dab2e6f06896e320fa1f authored over 1 year ago by Marti Raudsepp <[email protected]>
Fix ListFilter's expected_parameters return type (#1373)

github.com/typeddjango/django-stubs - 0fbd90aabc823a7c8bc207f7db2bc6b3f2121962 authored over 1 year ago by Aphek <[email protected]>
Annotate BaseCreateView.object attribute as Model | None (#1377)

Specified a _M | None type for object attribute of BaseCreateView class

github.com/typeddjango/django-stubs - 0e7270c6a1d1809ba638cc1f595fb85e926959ce authored over 1 year ago by Anvansh <[email protected]>
CI: Run mypy on self check (#361)

Co-authored-by: Marti Raudsepp <[email protected]>

github.com/typeddjango/djangorestframework-stubs - 92c8c455bf26140e6ed18256d802ab03f2fb9e3d authored over 1 year ago by Nikita Sobolev <[email protected]>
Fix strict mypy errors in plugin and scripts (#363)

This is a precondition for enabling mypy self-check in CI.

* Fixed strict mypy errors in mypy...

github.com/typeddjango/djangorestframework-stubs - c35b9112b53b5d0ad42301ce2e9ca153113a9be9 authored over 1 year ago by Marti Raudsepp <[email protected]>
Adds `pre-commit` CI (#360)

* Adds `pre-commit` CI
* Remove `mypy` from pre-commit

github.com/typeddjango/djangorestframework-stubs - 44f0e94992cf71174ec8fff3143652e02bff5723 authored over 1 year ago by Nikita Sobolev <[email protected]>
Delete pre-commit-autoupdate.yml

github.com/typeddjango/djangorestframework-stubs - 129c5fd593a1d5a8f39ba3394bdbcc42653de6f1 authored over 1 year ago by Nikita Sobolev <[email protected]>
Update package metadata: release notes URL, classifiers, maintainer (#359)

Harmonized with django-stubs `setup.py`

* Added Release notes URL to package metadata (relate...

github.com/typeddjango/djangorestframework-stubs - c6afad16d69638419e8f963feda537fb6a0851e7 authored over 1 year ago by Marti Raudsepp <[email protected]>
Version 1.9.0 release (#357)

* Version 1.9.0 release
* Bump django-stubs requirement

github.com/typeddjango/djangorestframework-stubs - 21818bc6335601e10289078974d6a7e9beb7d4c5 authored over 1 year ago by Marti Raudsepp <[email protected]>
Version 1.15.0 release (#1371)

github.com/typeddjango/django-stubs - 74c39d53d6cdc72bfcd3400d66dc203ad3706c4b authored over 1 year ago by Marti Raudsepp <[email protected]>
Fix type of data parameter in get test requests (#267)

Fix type of data parameter in get test requests. Lists of two-tuples of strings are allowed

C...

github.com/typeddjango/djangorestframework-stubs - a038db8530916ee7c473ff100ebbf6c5b3c1cb31 authored over 1 year ago by Nils Van Zuijlen <[email protected]>
Bump gitpython from 3.1.30 to 3.1.31 (#352)

Bumps [gitpython](https://github.com/gitpython-developers/GitPython) from 3.1.30 to 3.1.31.
- [...

github.com/typeddjango/djangorestframework-stubs - 6a972bbcb79ba1208d0a9a1777e7ef82aa50503a authored over 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump types-pytz from 2022.7.1.1 to 2022.7.1.2 (#356)

Bumps [types-pytz](https://github.com/python/typeshed) from 2022.7.1.1 to 2022.7.1.2.
- [Releas...

github.com/typeddjango/djangorestframework-stubs - f2087d0e11cd50357c3597fe911c0a66dda2a654 authored over 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump types-pytz from 2022.7.1.0 to 2022.7.1.1 (#355)

Bumps [types-pytz](https://github.com/python/typeshed) from 2022.7.1.0 to 2022.7.1.1.
- [Releas...

github.com/typeddjango/djangorestframework-stubs - aaefd620334f5feb9ffa306933543beaf7907331 authored over 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump types-requests from 2.28.11.8 to 2.28.11.14 (#354)

Bumps [types-requests](https://github.com/python/typeshed) from 2.28.11.8 to 2.28.11.14.
- [Rel...

github.com/typeddjango/djangorestframework-stubs - bd046b60f03aaf45dedfb863105946b58053f99e authored over 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump types-urllib3 from 1.26.25.4 to 1.26.25.7 (#353)

Bumps [types-urllib3](https://github.com/python/typeshed) from 1.26.25.4 to 1.26.25.7.
- [Relea...

github.com/typeddjango/djangorestframework-stubs - 64674d27ce02c4663d7eb514215e9ae9191c57b4 authored over 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Update Model subclass DoesNotExist type (#1364)

* Update Model subclass DoesNotExist type
* Make special Model exceptions Final
* Use typing_e...

github.com/typeddjango/django-stubs - dff2c4f0dde14ba6aac0b2d43c0692321a7c5a91 authored over 1 year ago by Mateen Kasim <[email protected]>
Upgrade to Mypy 1.0 (#339)

github.com/typeddjango/djangorestframework-stubs - 1e7cfe946f696b083230561056883ef927eb2460 authored over 1 year ago by Christian Bundy <[email protected]>
Bump mypy from 1.0.0 to 1.0.1 (#1369)

Bumps [mypy](https://github.com/python/mypy) from 1.0.0 to 1.0.1.
- [Release notes](https://git...

github.com/typeddjango/django-stubs - 3b52179178d27c8fe726481505d9c1ea28cf5e8e authored over 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Fixed Collector.data and NestedObjects.data types (#1366)

Specified dict[type[Model], set[Model] | list[Model]] type for Collecor.data attribute.

github.com/typeddjango/django-stubs - d1a1c81f7c8d14d0aeed06e72e2ef5ca651f750a authored over 1 year ago by Anvansh <[email protected]>
Remove unintentional GeoDjango re-exports (#1308)

github.com/typeddjango/django-stubs - 6ea1eaf425be1e4603baf693b0bd5b7082a9d49e authored over 1 year ago by Marti Raudsepp <[email protected]>
Bump gitpython from 3.1.30 to 3.1.31 (#1368)

Bumps [gitpython](https://github.com/gitpython-developers/GitPython) from 3.1.30 to 3.1.31.
- [...

github.com/typeddjango/django-stubs - 53f431a898de6d2e05f7d34feda53cb1327bbfe8 authored over 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Add new names for assert functions from Django 4.2 (#1365)

github.com/typeddjango/django-stubs - 2684efe4a7add0bd5d03c38576a6b31d687991b1 authored over 1 year ago by Adam Johnson <[email protected]>
Remove unintentional re-exports (#1309)

github.com/typeddjango/django-stubs - cf8c0a65a61bfa452ae9c4883a56336fb732f3b0 authored over 1 year ago by Marti Raudsepp <[email protected]>
CI: Enable testing with Python 3.11 (#284)

github.com/typeddjango/djangorestframework-stubs - bf9d3837eaf0b1e2928f28bad48c1f617813376b authored over 1 year ago by Marti Raudsepp <[email protected]>
CI: Use django-stubs 1.14.0 for testing (#346)

Needs changes to our typecheck ignores.

github.com/typeddjango/djangorestframework-stubs - fddecec3163c20f4b24e63a1d08a9e1b86e03b2a authored over 1 year ago by Marti Raudsepp <[email protected]>
Run pre-commit isort on pyi files (#347)

Pre-commit isort was ignoring .pyi files, this fixes that.

github.com/typeddjango/djangorestframework-stubs - 0f8579f51205a10612b636408c34d6fa9fffc7e4 authored over 1 year ago by Marti Raudsepp <[email protected]>
CI: Freeze DRF commit used in typecheck_tests and types-requests/types-urllib3 (#345)

* Freeze DRF git commit hash used in CI.
* Freeze versions of types-requests and types-urllib3 ...

github.com/typeddjango/djangorestframework-stubs - 3a339b08fbf5be6ca563177e049c164935be877f authored over 1 year ago by Marti Raudsepp <[email protected]>
Tool to generate Python types based on TypedDict from a JSON schema (#105)

* add real pythons typechecking guide

* Add Dropbox Article

* Tool to generate Python type...

github.com/typeddjango/awesome-python-typing - 07fd325671a3fc4b3eff35b8be2c500a4975f51c authored over 1 year ago by Christian Ledermann <[email protected]>
Add Dropbox Article (#104)

* add real pythons typechecking guide

* Add Dropbox Article

github.com/typeddjango/awesome-python-typing - 5558e1e2bde90cc6e63d20d23ec07235d1aeb1ac authored over 1 year ago by Christian Ledermann <[email protected]>
Fix crash using `.values_list("pk")` on abstract model (#1355)

github.com/typeddjango/django-stubs - 0bb7dbb64d1cc0e80986d2531e444f9f3f65f832 authored over 1 year ago by Petter Friberg <[email protected]>
Upgrade to Mypy 1.0 (#1360)

* Upgrade to Mypy 1.0

* Add type ignore for unreachable code

* Remove unused type ignores

github.com/typeddjango/django-stubs - 2dcb47c3f70c54466086405b94d67c5e82fc82c7 authored over 1 year ago by Christian Bundy <[email protected]>
feat: Update for StrOrPromise in typeddjango/django-stubs (#301)

Co-authored-by: Piotr Szyma <[email protected]>

github.com/typeddjango/djangorestframework-stubs - 4fb7adfedfae56f34fde260e04280b46fc535194 authored over 1 year ago by Terence Honles <[email protected]>
Bump glob-parent and awesome-lint (#98)

Bumps [glob-parent](https://github.com/gulpjs/glob-parent) to 5.1.2 and updates ancestor depende...

github.com/typeddjango/awesome-python-typing - bf1656a71c6b2ca09d372fc74ba75fc284f89c13 authored over 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump yargs-parser and awesome-lint (#100)

Bumps [yargs-parser](https://github.com/yargs/yargs-parser) to 20.2.9 and updates ancestor depen...

github.com/typeddjango/awesome-python-typing - c82f3821961001df143563a26b74041c82e7989c authored over 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump http-cache-semantics from 4.0.3 to 4.1.1 (#102)

Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.0.3 to 4....

github.com/typeddjango/awesome-python-typing - e7e1bd73700082a9a955c7b1165b058968c28aed authored over 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Add generic BaseConnectionHandler (#1349)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

github.com/typeddjango/django-stubs - b4f1c3c768fad342eeda2c4945eaad9c21b06e9d authored over 1 year ago by Adam Birds <[email protected]>
Update Black to 23.1.0 and reformat with new style (#1358)

Black 23 introduced some changes to the stable formatting style, but very trivial in this projec...

github.com/typeddjango/django-stubs - de0c34c7811eb73d12abc78b964244d1970bfdf5 authored over 1 year ago by Marti Raudsepp <[email protected]>
Update Black to 23.1.0 and reformat with new style (#335)

Black 23 introduced some changes to the stable formatting style, but very trivial in this projec...

github.com/typeddjango/djangorestframework-stubs - 092ec4278a43ddbfe4cbf8bd9c2b256a3a56da37 authored over 1 year ago by Marti Raudsepp <[email protected]>
Add max_length and min_length args for ListSerializer signature (#336)

github.com/typeddjango/djangorestframework-stubs - e55f3545008dca78fa7ab244f2d5a0cb49a30ad3 authored over 1 year ago by Vadim Safonov <[email protected]>
[pre-commit.ci] pre-commit autoupdate (#1352)

updates:
- [github.com/pycqa/isort: 5.11.4 → 5.12.0](https://github.com/pycqa/isort/compare/5.1...

github.com/typeddjango/django-stubs - 7eda250108eae8997caf6a97f56ff4a079d6224d authored over 1 year ago by pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Add return type to APIClient.get method (#330)

* feat: return type of APIClient.get method

* feat: add typing to rest_framework.test.APIRequ...

github.com/typeddjango/djangorestframework-stubs - 05c421e25cd566018f786169b880a02afc09bf0b authored over 1 year ago by piotrszyma <[email protected]>
fix: Use supported version in typecheck_tests command in Contributing guide (#1251)

The `typecheck_tests.py` script only supports the Django versions
included in its `DJANGO_COMMI...

github.com/typeddjango/django-stubs - f1aa98a0cc9dfe112c639a13b678d0415d9b8267 authored over 1 year ago by Michael Manganiello <[email protected]>
Bump pytest from 7.2.0 to 7.2.1 (#318)

Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.2.0 to 7.2.1.
- [Release notes](htt...

github.com/typeddjango/djangorestframework-stubs - 9acea479bbddf0ae25b5e68edb4b2be81e031cee authored over 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump types-pytz from 2022.7.0.0 to 2022.7.1.0 (#317)

Bumps [types-pytz](https://github.com/python/typeshed) from 2022.7.0.0 to 2022.7.1.0.
- [Releas...

github.com/typeddjango/djangorestframework-stubs - a7434baa2a53e3f4ce90e21ab8e25dcc3b673e92 authored over 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Version 1.14.0 release (#1343)

Recommended mypy version updated, supported Django versions same as previously.

github.com/typeddjango/django-stubs - 53387691865d2c3c8be2e7b68afaa94ce6e072b6 authored over 1 year ago by Marti Raudsepp <[email protected]>
Allow int, bool for data argument in test.client.Client.get() (#1345)

github.com/typeddjango/django-stubs - 2ddd42058b49d6e53aa3542ab1486579c93d41de authored over 1 year ago by Nils Van Zuijlen <[email protected]>
Support passing lazy strings to utils.text functions (#1344)

Currently, we get many of the following errors when trying to pass our Django code through mypy:...

github.com/typeddjango/django-stubs - b201f909a1e5c8f51643107995806409d19da22c authored over 1 year ago by DS/Charlie <[email protected]>
Improve types of as_sql() and as_<engine>() methods (#1315)

Co-authored-by: Nick Pope <[email protected]>

github.com/typeddjango/django-stubs - 32e5ebcfc5adf6dcc1fa7df10e2eef6d088ed782 authored over 1 year ago by Marti Raudsepp <[email protected]>
Fix crash when FK references unknown 'app_label' (#1342)

Plugin previously crashed running the provided test case, now it yields an intended error messag...

github.com/typeddjango/django-stubs - e6d65d2005129d457eef03724fc3c8cee136f35b authored over 1 year ago by Petter Friberg <[email protected]>
Allow returning Response from admin @action callbacks (#1331)

Problem: The Django docs say that you can "return an HttpResponse (or subclass) from your action...

github.com/typeddjango/django-stubs - 832163dad64298f00efe4c4b1b210bd6f766f8b0 authored over 1 year ago by Christian Bundy <[email protected]>
Update to mypy 0.991 for compatible-mypy & CI (#1260)

Made a few tweaks that were needed to get our CI passing with mypy 0.991.

github.com/typeddjango/django-stubs - 9874789bea016a567cf8372cb0e695d9615a5324 authored over 1 year ago by Marti Raudsepp <[email protected]>
Fix crash when filtering on implicit `pk` field on abstract model (#1328)

Avoid crashing when queryset filters on an implicit pk field for a model, when model is abstract.

github.com/typeddjango/django-stubs - d716b496a60d6269b1c5316d867419a57e11e69e authored over 1 year ago by Petter Friberg <[email protected]>
Fix some errors in GeoDjango stubs (#1335)

* Fix overloading of GeoDjango Layer.get_geoms
* geometry's wkb is memoryview, not bytes
* Fix...

github.com/typeddjango/django-stubs - 7d49ae6e571126e63dfe0e96feaac5ce49402b7c authored over 1 year ago by Taku Fukada <[email protected]>
Add PASSWORD_RESET_TIMEOUT_DAYS (#1332)

PASSWORD_RESET_TIMEOUT was added in Django 3.1,
PASSWORD_RESET_TIMEOUT_DAYS was removed in 4.0....

github.com/typeddjango/django-stubs - 4dfc9c423a132c8050ee499072af71827aecbeee authored over 1 year ago by Christian Bundy <[email protected]>
Suppress `FieldDoesNotExist` raised from attribute on class definition (#1329)

If we've found an attribute on a model class that from all we can see
appears to be a field, bu...

github.com/typeddjango/django-stubs - 34c2426f473796aaed3aa8d0a40c9f68569a0f16 authored over 1 year ago by Petter Friberg <[email protected]>
Version 1.13.2 release (#1326)

github.com/typeddjango/django-stubs - 7d50e5b1eaedc9e95dc8ed35f10f93ec73239ae0 authored over 1 year ago by Marti Raudsepp <[email protected]>
Revert "Used _ContextKeys for context like dicts" (#1311)

This reverts commit cb2f2339ff31851ff29811c27288f821e59a2b8e.

That change causes false positi...

github.com/typeddjango/django-stubs - c81f3733a804d3f0f4b069a4d4bcf12ec91a3961 authored over 1 year ago by Marti Raudsepp <[email protected]>
Bump requests from 2.28.1 to 2.28.2 (#1321)

Bumps [requests](https://github.com/psf/requests) from 2.28.1 to 2.28.2.
- [Release notes](http...

github.com/typeddjango/django-stubs - b6deb48389a525407a2449abfba7d5297ffdbeca authored over 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump pytest from 7.2.0 to 7.2.1 (#1324)

Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.2.0 to 7.2.1.
- [Release notes](htt...

github.com/typeddjango/django-stubs - 7ac978bafd517d1683c1420cb2e10f067f27c297 authored over 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Add missing allow_empty arg to ManyRelatedField (#322)

github.com/typeddjango/djangorestframework-stubs - 7d8dbc1ff4d0db3bc338cfb5b04b01f907588482 authored over 1 year ago by ce hjort-trærup <[email protected]>
Allow subclasses of APIView to override get_permissions with return type implementing _SupportsHasPermission (#320)

Issue is that list is invariant, which makes the protocol not work.

Changing it so a sequence...

github.com/typeddjango/djangorestframework-stubs - a9eee9907e07f705ce7c90f68bb1e6814c8c616d authored over 1 year ago by ce hjort-trærup <[email protected]>
Fix CI typecheck (add new ignores) (#323)

Suppressing new typecheck errors that were exposed in #320.

Now ignoring messages like 'note:...

github.com/typeddjango/djangorestframework-stubs - cdd962e9ea77f299156bfdd23f542ca9921e0eec authored over 1 year ago by Marti Raudsepp <[email protected]>