From 95d8bba8a85212683c08f4920f5401ab3df9c12d Mon Sep 17 00:00:00 2001 From: Arthit Suriyawongkul Date: Mon, 2 Feb 2026 20:54:18 +0000 Subject: [PATCH] Remove temp file from misspell --- .gitignore | 5 +++++ tests/core/test_cli.py | 2 ++ tests/data/text-misspelled-r0.05-seed1.txt | 1 - 3 files changed, 7 insertions(+), 1 deletion(-) delete mode 100644 tests/data/text-misspelled-r0.05-seed1.txt diff --git a/.gitignore b/.gitignore index a0bc9266b..ba6490da6 100644 --- a/.gitignore +++ b/.gitignore @@ -124,3 +124,8 @@ notebooks/d.model # Logs logs/ +*.log + +# Temp files +*.tmp +*.temp diff --git a/tests/core/test_cli.py b/tests/core/test_cli.py index 01883908f..2c0d38854 100644 --- a/tests/core/test_cli.py +++ b/tests/core/test_cli.py @@ -66,6 +66,8 @@ def test_cli_misspell(self): "1", "--misspell-ratio", "0.05", + "--output", + "./tests/data/misspell_output.tmp", ] ) ) diff --git a/tests/data/text-misspelled-r0.05-seed1.txt b/tests/data/text-misspelled-r0.05-seed1.txt deleted file mode 100644 index f0718da3e..000000000 --- a/tests/data/text-misspelled-r0.05-seed1.txt +++ /dev/null @@ -1 +0,0 @@ -ผมไม่ชอบกินผัก ดังนั้นผมจึงมะกจะเลือปทานอาหารท่่มีเนืัอสัตว์เป็นส่วนใหญ่ อย่างไรก็ตาม ผมก็รู้ว่าการทานผักมีประโยชน์ต่อสุขภาพ ดังนั้นฟมจึงพยายามทานผักบ้างในบางมื้อ ดต่ผมก็ยังคงเลือกทานผักที่ผมชอบเท่านั่น อย่างเช่น ถั่วฝักยาว หรือ ถั่วฝักยาว ฐึ่บผมคิดวรามัรก็เปฺนผักืี่อร่อยและมีประโยชา์ด้วย \ No newline at end of file