You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using click==8.1.7 the --config_file argument have a BOOLEAN type, which causes an error when trying to pass --config_file argument:
> coverage-lcov --config_file PATH/TO/.coveragerc
Usage: coverage-lcov [OPTIONS]
Try 'coverage-lcov --help' for help.
Error: Invalid value for '--config_file': 'PATH/TO/.coveragerc' is not a valid boolean.
Usage: coverage-lcov [OPTIONS]
Options:
--data_file_path TEXT Path to .coverage file
--output_file_path TEXT lcov.info output file path
--config_file BOOLEAN Path to .coveragerc file
--relative_path Use relative path in LCOV output
--preview Preview LCOV output
--help Show this message and exit.
The --config_file argument should have a TEXT type instead, as it did for click==7.1.2, where it works correctly:
> coverage-lcov --help
Usage: coverage-lcov [OPTIONS]
Options:
--data_file_path TEXT Path to .coverage file
--output_file_path TEXT lcov.info output file path
--config_file TEXT Path to .coveragerc file
--relative_path Use relative path in LCOV output
--preview Preview LCOV output
--help Show this message and exit.
The text was updated successfully, but these errors were encountered:
When using
click==8.1.7
the--config_file
argument have a BOOLEAN type, which causes an error when trying to pass--config_file
argument:The
--config_file
argument should have a TEXT type instead, as it did forclick==7.1.2
, where it works correctly:The text was updated successfully, but these errors were encountered: