fix: address code review feedback on spelling

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-03-09 23:40:09 +00:00
parent bd898605de
commit 23498e0a98
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ logger = logging.getLogger(__name__)
# Pre-built categories
# ---------------------------------------------------------------------------
#: Canonical category names recognised by the system. Users may also define
#: Canonical category names recognized by the system. Users may also define
#: their own categories via custom rules.
BUILTIN_CATEGORIES: dict[str, str] = {
"invoice": "Invoice",
+1 -1
View File
@@ -104,7 +104,7 @@ class TestFilenamePatternMatching:
result = classify_document(filename="Payment_Receipt.pdf")
assert result.category == "receipt"
def test_unrecognised_filename(self):
def test_unrecognized_filename(self):
"""A generic filename with no keywords should return 'unknown'."""
result = classify_document(filename="document_12345.pdf")
assert result.category == "unknown"