Skip to content

Commit 2584ad3

Browse files
authored
Version 1.8.0 release (#293)
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`
1 parent d3067dd commit 2584ad3

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ This project is open source and community driven. As such we encourage code cont
88
4. Write tests
99
5. Update dependencies
1010

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

1316
If you want to start working on this project, you will need to get familiar with python typings.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
[![Gitter](https://badges.gitter.im/mypy-django/Lobby.svg)](https://gitter.im/mypy-django/Lobby)
88

99

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

1313
## Installation
1414

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def find_stub_files(name):
3535

3636
setup(
3737
name="djangorestframework-stubs",
38-
version="1.7.0",
38+
version="1.8.0",
3939
description="PEP-484 stubs for django-rest-framework",
4040
long_description=readme,
4141
long_description_content_type="text/markdown",
@@ -54,6 +54,7 @@ def find_stub_files(name):
5454
"Programming Language :: Python :: 3.7",
5555
"Programming Language :: Python :: 3.8",
5656
"Programming Language :: Python :: 3.9",
57+
"Programming Language :: Python :: 3.10",
5758
"Typing :: Typed",
5859
],
5960
)

0 commit comments

Comments
 (0)