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

[qa] Add --ignore-pattern option to exclude files from QA checks #299

Open aoutifrak opened this issue 9 months ago • 2 comments

  • Introduced --ignore-pattern <file_pattern> option to allow users to exclude specific files or directories.
  • Supports ignoring patterns like node_modules and env, which are unnecessary for QA checks.
  • Ensured compatibility with existing QA check functionality.

This enhancement provides flexibility in excluding non-essential files

Fixes #299

Checklist

  • [x] I have read the OpenWISP Contributing Guidelines.
  • [x] I have manually tested the changes proposed in this pull request.
  • [ ] I have written new test cases for new code and/or updated existing tests for changes to existing code.
  • [ ] I have updated the documentation.

Reference to Existing Issue

Closes #.

Please open a new issue if there isn't an existing issue yet.

Description of Changes

Please describe these changes.

Screenshot

Please include any relevant screenshots.

aoutifrak avatar Apr 01 '25 22:04 aoutifrak

Also, please remove trailing whitespaces from your changes.

codesankalp avatar Apr 02 '25 18:04 codesankalp

Coverage Status

coverage: 95.981%. remained the same when pulling 813f0974b26582fa342f9611f549d70684f47f9a on aoutifrak:ignore-files-qa-check-299 into cfbd63e7c40b5c4717b32e40f6de72edad496127 on openwisp:master.

coveralls avatar Apr 11 '25 19:04 coveralls