Commit Graph

7 Commits (44d4742570c1511e7ce304e2d1e4fad4e077111b)

Author SHA1 Message Date
Mike Gerber 1dad18909c 🧹 Make dinglehopper.* exports explicit 11 months ago
Mike Gerber e4431797e6 🎨 Reformat comments + strings manually (not auto-fixed by Black) 11 months ago
Mike Gerber 704e7cca1c ⬆ Use f-strings 11 months ago
Mike Gerber bea56117ae 🎨 Reformat using Black 11 months ago
Mike Gerber d50d624554 🎨 Sort imports (auto-fixed by ruff) 11 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.
11 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. 🤞
11 months ago