You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dinglehopper/src/dinglehopper/tests
Mike Gerber b336f98271 🐛 Fix reading plain text files
As reported by @tallemeersch in gh-107, newlines were not removed for plain text files.
Fix this by stripping the lines as suggested.

Fixes gh-107.
1 week ago
..
data 🎨 Add newlines at end of files (ruff) 7 months ago
__init__.py 🐛 Move source into src/ to fix install 10 months ago
extracted_text_test.py Merge branch 'master' into performance 4 months ago
test_align.py Merge branch 'master' into performance 4 months ago
test_character_error_rate.py 🎨 Reformat comments + strings manually (not auto-fixed by Black) 10 months ago
test_edit_distance.py 🐛 Move source into src/ to fix install 10 months ago
test_editops.py 🐛 Move source into src/ to fix install 10 months ago
test_integ_align.py 🎨 Reformat comments + strings manually (not auto-fixed by Black) 10 months ago
test_integ_bigger_texts.py 🎨 Sort imports (auto-fixed by ruff) 10 months ago
test_integ_character_error_rate_ocr.py 🎨 Sort imports (auto-fixed by ruff) 10 months ago
test_integ_cli_dir.py 🧹 Make process_dir() keyword arguments keyword-only 2 months ago
test_integ_cli_valid_json.py 🎨 Sort imports (auto-fixed by ruff) 10 months ago
test_integ_differences.py 🎨 Reformat using Black 10 months ago
test_integ_edit_distance_ocr.py 🎨 Sort imports (auto-fixed by ruff) 10 months ago
test_integ_empty_files.py ✔ Test using empty files 1 month ago
test_integ_ocrd_cli.py 🧹 tests: Move comment out of the code (bad style + weird formatting) 1 month ago
test_integ_summarize.py 🎨 Reformat using Black 10 months ago
test_integ_table_extraction.py 🐛 Move source into src/ to fix install 10 months ago
test_integ_word_error_rate_ocr.py 🎨 Reformat comments + strings manually (not auto-fixed by Black) 10 months ago
test_ocr_files.py 🐛 Fix reading plain text files 1 week ago
test_word_error_rate.py 🎨 Reformat comments + strings manually (not auto-fixed by Black) 10 months ago
util.py 🎨 Sort imports (auto-fixed by ruff) 10 months ago