fixed tests
Browse files- Makefile +1 -1
- pytube/itags.py +1 -1
- setup.cfg +4 -2
Makefile
CHANGED
@@ -8,7 +8,7 @@ ci:
|
|
8 |
pip install pipenv
|
9 |
pipenv install --dev
|
10 |
pipenv run flake8
|
11 |
-
pipenv run pytest --cov-report term-missing --cov=pytube
|
12 |
|
13 |
clean: clean-build clean-pyc
|
14 |
|
|
|
8 |
pip install pipenv
|
9 |
pipenv install --dev
|
10 |
pipenv run flake8
|
11 |
+
pipenv run pytest --cov-report term-missing --cov=pytube --ignore=W605
|
12 |
|
13 |
clean: clean-build clean-pyc
|
14 |
|
pytube/itags.py
CHANGED
@@ -59,7 +59,7 @@ ITAGS = {
|
|
59 |
248: ('1080p', None),
|
60 |
264: ('1440p', None),
|
61 |
266: ('2160p', None),
|
62 |
-
271: ('1440p',
|
63 |
272: ('2160p', None),
|
64 |
278: ('144p', None),
|
65 |
298: ('720p', None),
|
|
|
59 |
248: ('1080p', None),
|
60 |
264: ('1440p', None),
|
61 |
266: ('2160p', None),
|
62 |
+
271: ('1440p', None),
|
63 |
272: ('2160p', None),
|
64 |
278: ('144p', None),
|
65 |
298: ('720p', None),
|
setup.cfg
CHANGED
@@ -3,7 +3,7 @@ commit = True
|
|
3 |
tag = True
|
4 |
current_version = 9.3.6
|
5 |
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+))?
|
6 |
-
serialize =
|
7 |
{major}.{minor}.{patch}
|
8 |
|
9 |
[metadata]
|
@@ -15,6 +15,8 @@ description-file = README.md
|
|
15 |
|
16 |
[coverage:run]
|
17 |
source = pytube
|
18 |
-
omit =
|
19 |
pytube/compat.py
|
20 |
|
|
|
|
|
|
3 |
tag = True
|
4 |
current_version = 9.3.6
|
5 |
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+))?
|
6 |
+
serialize =
|
7 |
{major}.{minor}.{patch}
|
8 |
|
9 |
[metadata]
|
|
|
15 |
|
16 |
[coverage:run]
|
17 |
source = pytube
|
18 |
+
omit =
|
19 |
pytube/compat.py
|
20 |
|
21 |
+
[flake8]
|
22 |
+
ignore = W605
|