1
0
Fork 0
mirror of https://github.com/qurator-spk/dinglehopper.git synced 2025-06-09 11:50:00 +02:00
Commit graph

346 commits

Author SHA1 Message Date
9594b4c9d2 🧹 pyproject: Remove extra *.json 2023-08-11 20:04:35 +02:00
de70b198ac 🧹 Remove empty setup.cfg 2023-08-11 20:04:02 +02:00
6c70afbbc5 📦 v0.9.3 2023-08-11 19:53:04 +02:00
12b1ea3ae7 🐛 Remove MANIFEST.in workaround, now that setuptools_ocrd is fixed 2023-08-11 19:52:12 +02:00
98a67c7b3b 📦 v0.9.2 2023-08-04 20:35:42 +02:00
668072e338 🧹 .gitignore dist/ 2023-08-04 20:34:35 +02:00
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.
2023-08-04 20:31:32 +02:00
102615262a ⚙ GitHub Actions: Call test workflow when (before) deploying 2023-08-04 19:46:08 +02:00
0319d08218 🎨 Release: Make installing setuptools-ocrd conditional on ocrd-tool.json 2023-08-04 19:37:41 +02:00
dd16a16901 🐛 Release: Try fixing getting the version (install setuptools-ocrd) 2023-08-04 19:28:21 +02:00
1c95a82941 📦 v0.9.1 2023-08-04 19:25:23 +02:00
b062b1d15d
✒ README: Update badges 2023-08-04 19:22:08 +02:00
722aea6b54 Revert "🚧 GitHub Actions: Try testing on Python 3.12"
This reverts commit 801254e1c9.
2023-08-04 19:14:53 +02:00
801254e1c9 🚧 GitHub Actions: Try testing on Python 3.12 2023-08-04 19:12:53 +02:00
e4489dbbec 🚧 GitHub Actions/CircleCI: Remove testing from CircleCI config 2023-08-04 19:09:51 +02:00
aa7c9c5c5f 🚧 GitHub Actions: Do no try installing ruff on Python 3.6 2023-08-04 19:02:26 +02:00
c74fd10ac8 🚧 GitHub Actions: Do no try installing pytest-ruff on Python 3.6 2023-08-04 19:00:24 +02:00
ad7f42c23e 🚧 GitHub Actions: Avoid compiling OpenCV and NumPy on Python 3.6 2023-08-04 18:53:58 +02:00
ff453fba43 🚧 GitHub Actions: Fix testing for Python 3.6 2023-08-04 18:53:32 +02:00
9d142f0105 🚧 GitHub Actions: Fix testing for Python 3.6 2023-08-04 18:46:58 +02:00
f929983d25 🚧 GitHub Actions: Fix testing for Python 3.6 2023-08-04 18:44:17 +02:00
cf130fe3a8 🚧 GitHub Actions: Disable matrix fail-fast 2023-08-04 18:32:26 +02:00
915a647949 🚧 GitHub Actions: Disable matrix fail-fast 2023-08-04 18:31:13 +02:00
6b05290640 🚧 GitHub Actions: Test on multiple Python versions 2023-08-04 18:28:01 +02:00
f909806f9e 🚧 GitHub Actions: Test report 2023-08-04 17:52:15 +02:00
f61b81c98e 🚧 GitHub Actions: Test report 2023-08-04 17:47:58 +02:00
44d4742570 🚧 GitHub Actions: Test report 2023-08-04 17:44:57 +02:00
f4dff64066 🚧 GitHub Actions: Test report 2023-08-04 17:35:43 +02:00
043dbb1749 🚧 GitHub Actions: Test report 2023-08-04 17:33:05 +02:00
207fcd4054 🚧 GitHub Actions: Test report 2023-08-04 17:30:26 +02:00
f7c280e59c 🚧 GitHub Actions: Try shell for loop to install from all requirements*.txt 2023-08-04 16:42:46 +02:00
d42e59846c 🚧 GitHub Actions: Try shell for loop to install from all requirements*.txt 2023-08-04 16:41:03 +02:00
ab1359c7e6 🚧 GitHub Actions: Rework test, run in src/ 2023-08-04 16:35:36 +02:00
77bcecd2d0 🚧 GitHub Actions: Allow running test manually 2023-08-04 16:21:00 +02:00
c1b8d983e6 🚧 GitHub Actions: Rename test workflow, also run on schedule 2023-08-04 16:17:21 +02:00
674d833b15 🚧 GitHub Actions: Add test worklow 2023-08-04 16:12:33 +02:00
caef84cebb 🚧 GitHub Actions: Add release workflow 2023-08-04 16:10:54 +02:00
1dad18909c 🧹 Make dinglehopper.* exports explicit 2023-08-03 20:27:17 +02:00
bc6754d0cb ⚙ ruff: Ignore F811 (no redefinitions) for now, as ruff considers the multimethods redefinitions 2023-08-03 19:53:29 +02:00
e4431797e6 🎨 Reformat comments + strings manually (not auto-fixed by Black) 2023-08-03 19:46:01 +02:00
704e7cca1c ⬆ Use f-strings 2023-08-03 19:44:40 +02:00
bea56117ae 🎨 Reformat using Black 2023-08-03 19:25:44 +02:00
d50d624554 🎨 Sort imports (auto-fixed by ruff) 2023-08-03 19:21:21 +02:00
5b20fb24a1 ⚙ Add pre-commit 2023-08-03 19:13:21 +02:00
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).
2023-08-03 19:03:52 +02:00
e8e58e76c4 ⚙ Move mypy settings to pyproject.toml 2023-08-03 18:35:25 +02:00
84a05170ba ⚙ pytest.ini → pyproject.toml 2023-08-03 18:06:13 +02:00
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.
2023-08-03 17:48:13 +02:00
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. 🤞
2023-08-03 17:29:30 +02:00
db7c051b22 ⚙ Migrate to pyproject.toml 2023-08-02 20:55:47 +02:00