Skip to content

Ignore flag should override erase flag targets #118

@bittner

Description

@bittner

Currently, when you use --erase and --ignore together, the values specified by the ignore flag are not ignored with the erase feature.

Example

pyclean . --debris all --erase 'allure-results/**/*' allure-results pretty.output -i allure-results -nyv

Should skip erasing the allure-results directory entirely, but attempts to delete them anyway.

Expected Behavior

The ignore flag should allow to override values that are selected by all other options and positional arguments.

Metadata

Metadata

Labels

usabilityAffects user experience

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions