ignores¶
Overview¶
This action gathers statistics on ignore*.txt files used by sanity tests.
It summarizes ignored checks and files.
Parameters¶
The following parameters are supported:
--spec SPEC,-s SPECUse
ignore-SPEC.txt, or pass-to read from stdin.--depth,-dPath depth for grouping files. For example, with a depth of 2, the result will show the count of occurrences for
plugins/modules,plugins/module_utils, etc, instead of the full paths likeplugins/modules/mymodule.py. This is useful for large collections with modules files organized hierarchically.--filter-files,-ffRegular expression matching file names to be included.
--filter-checks,-fcRegular expression matching checks in ignore files to be included.
--suppress-files,-sfSuppress file names from the output, consolidating the results.
--suppress-checks,-scSuppress the checks from the output, consolidating the results.
--head,-HNumber of lines to display in the output: leading lines if positive, trailing lines if negative, all lines if zero (default: 10).
Dependencies¶
No special dependencies.
Usage Examples¶
andebox ignores --spec 2.16
andebox ignores --filter-files test_module
andebox ignores --head 5