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