Fix mypy issues

This commit is contained in:
Jared Dillard
2025-08-10 15:05:15 -07:00
parent bb75a8ba77
commit ad987f77f0
5 changed files with 48 additions and 34 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ class DocumentProcessor:
"""
# Get the configured path directives to process
default_path_directives = ["image", "figure"]
custom_path_directives = self.config.get("llms_txt_directives")
custom_path_directives = self.config.get("llms_txt_directives") or []
path_directives = set(default_path_directives + custom_path_directives)
# Build the regex pattern to match all configured directives