Fixes the last tests and updates settings.py

This commit is contained in:
Trenton H
2026-01-09 21:07:00 -08:00
parent 91c4d0edfd
commit eb7f8dfe76
2 changed files with 2 additions and 14 deletions

View File

@@ -294,7 +294,7 @@ class ConsumerFilter(DefaultFilter):
def _matches_ignore_pattern(self, filename: str) -> bool:
"""Check if the filename matches any ignore pattern."""
for regex in self._ignore_regexes:
if regex.search(filename):
if regex.match(filename):
logger.debug(
f"Filename {filename} matched ignore pattern {regex.pattern}",
)