Commit Graph

7 Commits (cec240eb2d82a32e7b54b40b858f40e7b2a3ba8a)

Author SHA1 Message Date
sepro add96eb9f8
[cleanup] Add more ruff rules ()
Authored by: seproDev

Reviewed-by: bashonly <88596187+bashonly@users.noreply.github.com>
Reviewed-by: Simon Sawicki <contact@grub4k.xyz>
pukkandan 9f14daf22b
[extractor] Deprecate `_sort_formats`
pukkandan bfd973ece3 [extractors] Use new framework for existing embeds ()
`Brightcove` is difficult to migrate because it's subclasses may depend
on the signature of the current functions. So it is left as-is for now

Note: Tests have not been migrated
pukkandan b6dc37fe2a
[test] Convert warnings into errors
* And fix some existing warnings

Authored by: fstirlitz
pukkandan 86e5f3ed2e
[cleanup] Upgrade syntax
Using https://github.com/asottile/pyupgrade

1. `__future__` imports and `coding: utf-8` were removed
2. Files were rewritten with `pyupgrade --py36-plus --keep-percent-format`
3. f-strings were cherry-picked from `pyupgrade --py36-plus`

Extractors are left untouched (except removing header) to avoid unnecessary merge conflicts
pukkandan 5ad28e7ffd
[extractor] Common function `_match_valid_url`
nixxo feee67ae88
[gedi] Improvements from youtube-dl ()
Authored-by: nixxo <c.nixxo@gmail.com>