diff --git a/src/mlx/warnings/regex_checker.py b/src/mlx/warnings/regex_checker.py index 19fbbe77..b53c5e06 100644 --- a/src/mlx/warnings/regex_checker.py +++ b/src/mlx/warnings/regex_checker.py @@ -168,6 +168,10 @@ def parse_config(self, config): self.cq_default_path = value if value := config.pop("exclude", None): self.add_patterns(value, self.exclude_patterns) + if value := config.pop("min", 0): + self.minimum = value + if value := config.pop("max", 0): + self.maximum = value for classification, checker_config in config.items(): classification_key = classification.lower().replace("_", " ") if classification_key in self.checkers: