Skip to content

Commit

Permalink
Version 1.8.0 release
Browse files Browse the repository at this point in the history
Also:

* Updated Python compatibility in setup.py and README.
* Removed DRF version from README -- it has been out of date for a while.
* Added link to typeshed coding conventions that's now enforced by `flake8-pyi`
  • Loading branch information
intgr committed Nov 18, 2022
1 parent d3067dd commit 32391ce
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CONTRIBUTING.md
Expand Up @@ -8,6 +8,9 @@ This project is open source and community driven. As such we encourage code cont
4. Write tests
5. Update dependencies

Type stubs in `.pyi` files should follow
[coding conventions from typeshed project](https://github.com/python/typeshed/blob/main/CONTRIBUTING.md#conventions).

## Tutorials

If you want to start working on this project, you will need to get familiar with python typings.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -7,8 +7,8 @@
[![Gitter](https://badges.gitter.im/mypy-django/Lobby.svg)](https://gitter.im/mypy-django/Lobby)


Mypy stubs for [DRF 3.12.x](https://pypi.org/project/djangorestframework/).
Supports Python 3.6, 3.7, 3.8 and 3.9.
Mypy stubs for [Django REST Framework](https://pypi.org/project/djangorestframework/).
Supports Python 3.7 and up.

## Installation

Expand Down
3 changes: 2 additions & 1 deletion setup.py
Expand Up @@ -35,7 +35,7 @@ def find_stub_files(name):

setup(
name="djangorestframework-stubs",
version="1.7.0",
version="1.8.0",
description="PEP-484 stubs for django-rest-framework",
long_description=readme,
long_description_content_type="text/markdown",
Expand All @@ -54,6 +54,7 @@ def find_stub_files(name):
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Typing :: Typed",
],
)

0 comments on commit 32391ce

Please sign in to comment.