ruff: enable RUF ruleset

This commit is contained in:
Dima Gerasimov 2024-08-28 00:00:54 +01:00 committed by karlicoss
parent 664c40e3e8
commit b594377a59
15 changed files with 31 additions and 27 deletions

View file

@ -122,7 +122,7 @@ class TakeoutHTMLParser(HTMLParser):
# JamiexxVEVO
# Jun 21, 2018, 5:48:34 AM
# Products:
# YouTube
# YouTube
def handle_data(self, data):
if self.state == State.OUTSIDE:
if data[:-1].strip() in ("Watched", "Visited"):