Skip to content

Commit 2dfde86

Browse files
authored
Merge pull request #392 from duckinator/pyproject-utf8
assume pyproject.toml is utf-8
2 parents 59069a9 + 3428428 commit 2dfde86

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

bork/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def from_project(cls, root: Path) -> 'Config':
5555
try:
5656
# Inefficient but necessary for compatibility with toml shim
5757
# To be improved once Py3.10 support is removed
58-
pyproject = tomllib.loads((root / "pyproject.toml").read_text())
58+
pyproject = tomllib.loads((root / "pyproject.toml").read_text(encoding="utf-8"))
5959
except FileNotFoundError:
6060
if any((root / fn).exists() for fn in ("setup.py", "setup.cfg")):
6161
# Legacy setuptools project without Bork-specific config

bork/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# This file should only ever be modified to change the version.
22
# This will automatically prepare and create a release.
33

4-
__version__ = '10.0.3'
4+
__version__ = '10.1.0'

0 commit comments

Comments
 (0)