Commit Graph

452 Commits (master)
 

Author SHA1 Message Date
Mike Gerber 12b1ea3ae7 🐛 Remove MANIFEST.in workaround, now that setuptools_ocrd is fixed 9 months ago
Mike Gerber 98a67c7b3b 📦 v0.9.2 9 months ago
Mike Gerber 668072e338 🧹 .gitignore dist/ 9 months ago
Mike Gerber 563642c93b 🐛 Workaround sdist not containing top-level ocrd-tool.json
See https://github.com/qurator-spk/setuptools_ocrd/issues/10 - The sdist does not
contain ocrd-tool.json, so that the wheel built from it does not get the proper version.
Needs to be fixed in setuptools_ocrd, then MANIFEST.in can be removed again.
9 months ago
Mike Gerber 102615262a ⚙ GitHub Actions: Call test workflow when (before) deploying 9 months ago
Mike Gerber 0319d08218 🎨 Release: Make installing setuptools-ocrd conditional on ocrd-tool.json 9 months ago
Mike Gerber dd16a16901 🐛 Release: Try fixing getting the version (install setuptools-ocrd) 9 months ago
Mike Gerber 1c95a82941 📦 v0.9.1 9 months ago
Mike Gerber b062b1d15d
✒ README: Update badges 9 months ago
Mike Gerber 722aea6b54 Revert "🚧 GitHub Actions: Try testing on Python 3.12"
This reverts commit 801254e1c9.
9 months ago
Mike Gerber 801254e1c9 🚧 GitHub Actions: Try testing on Python 3.12 9 months ago
Mike Gerber e4489dbbec 🚧 GitHub Actions/CircleCI: Remove testing from CircleCI config 9 months ago
Mike Gerber aa7c9c5c5f 🚧 GitHub Actions: Do no try installing ruff on Python 3.6 9 months ago
Mike Gerber c74fd10ac8 🚧 GitHub Actions: Do no try installing pytest-ruff on Python 3.6 9 months ago
Mike Gerber ad7f42c23e 🚧 GitHub Actions: Avoid compiling OpenCV and NumPy on Python 3.6 9 months ago
Mike Gerber ff453fba43 🚧 GitHub Actions: Fix testing for Python 3.6 9 months ago
Mike Gerber 9d142f0105 🚧 GitHub Actions: Fix testing for Python 3.6 9 months ago
Mike Gerber f929983d25 🚧 GitHub Actions: Fix testing for Python 3.6 9 months ago
Mike Gerber cf130fe3a8 🚧 GitHub Actions: Disable matrix fail-fast 9 months ago
Mike Gerber 915a647949 🚧 GitHub Actions: Disable matrix fail-fast 9 months ago
Mike Gerber 6b05290640 🚧 GitHub Actions: Test on multiple Python versions 9 months ago
Mike Gerber f909806f9e 🚧 GitHub Actions: Test report 9 months ago
Mike Gerber f61b81c98e 🚧 GitHub Actions: Test report 9 months ago
Mike Gerber 44d4742570 🚧 GitHub Actions: Test report 9 months ago
Mike Gerber f4dff64066 🚧 GitHub Actions: Test report 9 months ago
Mike Gerber 043dbb1749 🚧 GitHub Actions: Test report 9 months ago
Mike Gerber 207fcd4054 🚧 GitHub Actions: Test report 9 months ago
Mike Gerber f7c280e59c 🚧 GitHub Actions: Try shell for loop to install from all requirements*.txt 9 months ago
Mike Gerber d42e59846c 🚧 GitHub Actions: Try shell for loop to install from all requirements*.txt 9 months ago
Mike Gerber ab1359c7e6 🚧 GitHub Actions: Rework test, run in src/ 9 months ago
Mike Gerber 77bcecd2d0 🚧 GitHub Actions: Allow running test manually 9 months ago
Mike Gerber c1b8d983e6 🚧 GitHub Actions: Rename test workflow, also run on schedule 9 months ago
Mike Gerber 674d833b15 🚧 GitHub Actions: Add test worklow 9 months ago
Mike Gerber caef84cebb 🚧 GitHub Actions: Add release workflow 9 months ago
Mike Gerber 1dad18909c 🧹 Make dinglehopper.* exports explicit 9 months ago
Mike Gerber bc6754d0cb ⚙ ruff: Ignore F811 (no redefinitions) for now, as ruff considers the multimethods redefinitions 9 months ago
Mike Gerber e4431797e6 🎨 Reformat comments + strings manually (not auto-fixed by Black) 9 months ago
Mike Gerber 704e7cca1c ⬆ Use f-strings 9 months ago
Mike Gerber bea56117ae 🎨 Reformat using Black 9 months ago
Mike Gerber d50d624554 🎨 Sort imports (auto-fixed by ruff) 9 months ago
Mike Gerber 5b20fb24a1 ⚙ Add pre-commit 9 months ago
Mike Gerber 32bd1896e0 🛠 Replace flake8 + pylint with ruff
As ruff is a lot faster than the other options, use this for code style checks etc. This
change also removes setup.cfg (See also: gh-85).
9 months ago
Mike Gerber e8e58e76c4 ⚙ Move mypy settings to pyproject.toml 9 months ago
Mike Gerber 84a05170ba ⚙ pytest.ini → pyproject.toml 9 months ago
Mike Gerber 69325facf2 🐛 Detect encoding (incl BOM) when reading files
As @imlabormitlea-code reported in gh-79, dinglehopper did not handle text files with
BOM well. Fix this by using chardet to detect an encoding, which also detects the BOM
and use the proper encoding to read the files, not including the BOM in the resulting
extracted text.

Fixes gh-80.
9 months ago
Mike Gerber 325e5af5f5 🐛 Move source into src/ to fix install
Installing was broken since moving to pyproject.toml, which we didn't notice because of
leftover files in build/. Fix this by using the convention of having the source files
in src/ and adjusting pyproject.toml accordingly.

Fixes gh-86. 🤞
9 months ago
Mike Gerber db7c051b22 ⚙ Migrate to pyproject.toml 9 months ago
Mike Gerber fc81233a0e 🚧 CircleCI: Run black 9 months ago
Mike Gerber cb0134d2db 🚧 CircleCI: Run black 9 months ago
Mike Gerber 55d534b981 🚧 CircleCI: Run black 9 months ago