File tree 2 files changed +14
-6
lines changed
2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 2
2
3
3
# pep484 stubs for Django REST framework
4
4
5
- [ ![ Build Status] ( https://travis-ci.org/mkurnikov /djangorestframework-stubs.svg?branch=master )] ( https://travis-ci.org/mkurnikov /djangorestframework-stubs )
5
+ [ ![ Build Status] ( https://travis-ci.com/typeddjango /djangorestframework-stubs.svg?branch=master )] ( https://travis-ci.com/typeddjango /djangorestframework-stubs )
6
6
[ ![ Checked with mypy] ( http://www.mypy-lang.org/static/mypy_badge.svg )] ( http://mypy-lang.org/ )
7
7
8
8
@@ -30,4 +30,4 @@ in your `mypy.ini` file.
30
30
31
31
We have Gitter here https://gitter.im/mypy-django/Lobby .
32
32
33
- If you think you have more generic typing issue, please refer to https://github.com/python/mypy and their Gitter.
33
+ If you think you have more generic typing issue, please refer to https://github.com/python/mypy and their Gitter.
Original file line number Diff line number Diff line change @@ -60,8 +60,16 @@ class APIClient(DjangoClient):
60
60
** extra : Any
61
61
) -> Response : ...
62
62
63
- class APITransactionTestCase (testcases .TransactionTestCase ): ...
64
- class APITestCase (testcases .TestCase ): ...
65
- class APISimpleTestCase (testcases .SimpleTestCase ): ...
66
- class APILiveServerTestCase (testcases .LiveServerTestCase ): ...
63
+ class APITransactionTestCase (testcases .TransactionTestCase ):
64
+ client : APIClient
65
+
66
+ class APITestCase (testcases .TestCase ):
67
+ client : APIClient
68
+
69
+ class APISimpleTestCase (testcases .SimpleTestCase ):
70
+ client : APIClient
71
+
72
+ class APILiveServerTestCase (testcases .LiveServerTestCase ):
73
+ client : APIClient
74
+
67
75
class URLPatternsTestCase (testcases .SimpleTestCase ): ...
You can’t perform that action at this time.
0 commit comments