aboutsummaryrefslogtreecommitdiffstats
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2022-07-06 09:22:49 -0400
committerJake Hunsaker <jhunsake@redhat.com>2022-07-19 09:30:13 -0400
commitbad40ed7b7b00bf229cf96e47445fc1139db526c (patch)
tree5cf2be4d3317afdc7fd0480328151eb2be680278 /.cirrus.yml
parent7240a8fc32dbfcf17d6d9b165b00311ad9591214 (diff)
downloadsos-bad40ed7b7b00bf229cf96e47445fc1139db526c.tar.gz
[clean] Don't re-create regex for parsers on every skip check
When determining if a parser should be skipped for a given file, we were previously doing so ineffeciently by regenerating the regex object for every file from the parser's `skip_files` class attr. Instead, during parser initialization, use those string definitions to create a list of regex objects to be used directly by the skip file checks. This way, we only generate the regex objects once for each parser for the entire run. Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to '.cirrus.yml')
0 files changed, 0 insertions, 0 deletions