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.
Currently, when you use
--eraseand--ignoretogether, the values specified by the ignore flag are not ignored with the erase feature.Example
Should skip erasing the
allure-resultsdirectory 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.