hbmartin commited on
Commit
df469ed
·
1 Parent(s): bfacd7d

add typing-extensions

Browse files
Files changed (4) hide show
  1. .travis.yml +1 -0
  2. Pipfile +1 -0
  3. Pipfile.lock +13 -2
  4. pytube/monostate.py +2 -0
.travis.yml CHANGED
@@ -5,6 +5,7 @@ cache:
5
  python:
6
  - "3.6"
7
  - "3.7"
 
8
  install: "make"
9
  script:
10
  - make ci
 
5
  python:
6
  - "3.6"
7
  - "3.7"
8
+ - "3.8-dev"
9
  install: "make"
10
  script:
11
  - make ci
Pipfile CHANGED
@@ -4,6 +4,7 @@ verify_ssl = true
4
  name = "pypi"
5
 
6
  [packages]
 
7
 
8
  [dev-packages]
9
  "flake8" = "*"
 
4
  name = "pypi"
5
 
6
  [packages]
7
+ typing_extensions = "*"
8
 
9
  [dev-packages]
10
  "flake8" = "*"
Pipfile.lock CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "_meta": {
3
  "hash": {
4
- "sha256": "3bdafeb486606b7e0dda14598e67bec496dad728d7e52b5fe96b1583992c283d"
5
  },
6
  "pipfile-spec": 6,
7
  "requires": {},
@@ -13,7 +13,17 @@
13
  }
14
  ]
15
  },
16
- "default": {},
 
 
 
 
 
 
 
 
 
 
17
  "develop": {
18
  "alabaster": {
19
  "hashes": [
@@ -528,6 +538,7 @@
528
  "sha256:910f4656f54de5993ad9304959ce9bb903f90aadc7c67a0bef07e678014e892d",
529
  "sha256:cf8b63fedea4d89bab840ecbb93e75578af28f76f66c35889bd7065f5af88575"
530
  ],
 
531
  "version": "==3.7.4.1"
532
  },
533
  "urllib3": {
 
1
  {
2
  "_meta": {
3
  "hash": {
4
+ "sha256": "fdf46928992740be28ccf936e7958d05cfba20918f6edfd7bb511d9bd430949e"
5
  },
6
  "pipfile-spec": 6,
7
  "requires": {},
 
13
  }
14
  ]
15
  },
16
+ "default": {
17
+ "typing-extensions": {
18
+ "hashes": [
19
+ "sha256:091ecc894d5e908ac75209f10d5b4f118fbdb2eb1ede6a63544054bb1edb41f2",
20
+ "sha256:910f4656f54de5993ad9304959ce9bb903f90aadc7c67a0bef07e678014e892d",
21
+ "sha256:cf8b63fedea4d89bab840ecbb93e75578af28f76f66c35889bd7065f5af88575"
22
+ ],
23
+ "index": "pypi",
24
+ "version": "==3.7.4.1"
25
+ }
26
+ },
27
  "develop": {
28
  "alabaster": {
29
  "hashes": [
 
538
  "sha256:910f4656f54de5993ad9304959ce9bb903f90aadc7c67a0bef07e678014e892d",
539
  "sha256:cf8b63fedea4d89bab840ecbb93e75578af28f76f66c35889bd7065f5af88575"
540
  ],
541
+ "index": "pypi",
542
  "version": "==3.7.4.1"
543
  },
544
  "urllib3": {
pytube/monostate.py CHANGED
@@ -1,3 +1,5 @@
 
 
1
  import io
2
  from typing import Any, Optional
3
  from typing_extensions import Protocol
 
1
+ from __future__ import annotations
2
+
3
  import io
4
  from typing import Any, Optional
5
  from typing_extensions import Protocol