diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 29028f23d..5ed24db7e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,13 +1,13 @@ repos: - repo: https://github.com/pycqa/isort - rev: 5.10.1 + rev: v5.11.3 hooks: - id: isort - repo: https://github.com/pre-commit/mirrors-autopep8 - rev: v2.0.0 + rev: v2.0.1 hooks: - id: autopep8 - repo: https://github.com/PyCQA/flake8 - rev: 5.0.4 + rev: 6.0.0 hooks: - id: flake8 diff --git a/youtube_dl/extractor/extractors.py b/youtube_dl/extractor/extractors.py index 575e8c2fb..a47f09f6c 100644 --- a/youtube_dl/extractor/extractors.py +++ b/youtube_dl/extractor/extractors.py @@ -597,10 +597,7 @@ from .parliamentliveuk import ParliamentLiveUKIE from .patreon import PatreonIE from .pbs import PBSIE from .pearvideo import PearVideoIE -from .peekvids import ( - PeekVidsIE, - PlayVidsIE, -) +from .peekvids import PeekVidsIE, PlayVidsIE from .peertube import PeerTubeIE from .people import PeopleIE from .performgroup import PerformGroupIE @@ -836,11 +833,7 @@ from .theweatherchannel import TheWeatherChannelIE from .thisamericanlife import ThisAmericanLifeIE from .thisav import ThisAVIE from .thisoldhouse import ThisOldHouseIE -from .thisvid import ( - ThisVidIE, - ThisVidMemberIE, - ThisVidPlaylistIE, -) +from .thisvid import ThisVidIE, ThisVidMemberIE, ThisVidPlaylistIE from .threeqsdn import ThreeQSDNIE from .tiktok import TikTokIE, TikTokUserIE from .tinypic import TinyPicIE diff --git a/youtube_dl/extractor/thisvid.py b/youtube_dl/extractor/thisvid.py index bc4bcb2d1..6a98e1a69 100644 --- a/youtube_dl/extractor/thisvid.py +++ b/youtube_dl/extractor/thisvid.py @@ -1,13 +1,11 @@ # coding: utf-8 from __future__ import unicode_literals -import re import itertools +import re from .common import InfoExtractor -from ..compat import ( - compat_urlparse, -) +from ..compat import compat_urlparse from ..utils import ( clean_html, get_element_by_class,