Skip to content

coverage.py report generation does not take into account CLI flags #103

@DanielNoord

Description

@DanielNoord

return next(
search_files(
self.config.project_root,
[],
filename_include_regex=coverage_files_regex,
filename_exclude_regex=None,
),
None,
)

The code in question means that --dir passed to the CLI will not be respected as the project_root always takes precedence. That is quite unfortunate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions