Closed getzze closed 2 months ago
Click to see where and how coverage changed
File Statements Missing Coverage Coverage
(new stmts)Lines missing
subliminal
core.py
323, 651-657
extensions.py
utils.py
Project Total
This report was generated by python-coverage-comment-action
fixes #585, #752, #1018
This PR adds some CLI options:
--ignore-refiner
: can be repeated, refiner to ignore.--ignore-provider
: can be repeated, provider to ignore.--extend-refiner
: can be repeated, refiner to extend to the list of refiners to use.--extend-provider
: can be repeated, provider to extend to the list of providers to use.--ignore-subtitles
: can be repeated, subtitle id to ignore.These can also be defined in the configuration file, so it's important to make sure the CLI options always takes precedence over the config file. This logic is implemented (and tested) in
merge_extend_and_ignore_unions
.(I followed the naming of
ruff
, select-extend-ignore :))