openwisp-utils icon indicating copy to clipboard operation
openwisp-utils copied to clipboard

[change] Add an option to ignore files in `openwisp-qa-check`

Open codesankalp opened this issue 3 years ago • 1 comments

It would be good to have an option like --ignore <file_pattern> or --i <file_pattern> to ignore running QA checks on files specified in the pattern while running openwisp-qa-check.

This feature will help in ignoring folders like node_modules or env which is not required in QA check.

codesankalp avatar Jun 15 '22 19:06 codesankalp

Hi! Can I work on this issue?

The feature request proposes adding a new command-line option to the openwisp-qa-check script:

--ignore <file_pattern>

(with a shorter alias -i <file_pattern>)

This would allow developers to exclude specific files or directories from QA checks. For example:

./openwisp-qa-check --ignore "/node_modules/" --ignore "/env/"

Adding this option would make the QA process more efficient and accurate by ensuring the tool only scans relevant project files instead of dependency folders.

If this approach aligns with what you have in mind, please let me know — I’d be happy to work on the implementation and open a PR for it.

AditiSah05 avatar Nov 28 '25 15:11 AditiSah05