Skip to content

Commit

Permalink
Fix hatch
Browse files Browse the repository at this point in the history
  • Loading branch information
thomass-dev committed Oct 15, 2024
1 parent 4e7ff6f commit d0d63ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skore/hatch/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def update(self, metadata):
version = self.config["version-default"]

with suppress(FileNotFoundError):
version = Path(self.root, "VERSION.txt").read_text()
version = Path(self.root, "VERSION.txt").read_text(encoding="utf8")

metadata["license"] = {"text": license, "content-type": "text/plain"}
metadata["readme"] = {"text": readme, "content-type": "text/markdown"}
Expand Down

0 comments on commit d0d63ee

Please sign in to comment.