fix(shared): set logger encoding and dont assume encoding

Older versions of python might have ascii as default, we
should not assume that the default encoding always is "utf-8"
when opening files.
This commit is contained in:
jo 2022-01-31 13:29:14 +01:00 committed by Kyle Robbertze
parent f6fe318278
commit 80dfbd3179
3 changed files with 4 additions and 3 deletions

View file

@ -18,7 +18,6 @@ setup(
package_data={"": ["py.typed"]},
install_requires=[
"click>=8.0.3",
# Pinned until https://github.com/Delgan/loguru/issues/581 is fixed
"loguru==0.6.0",
"pydantic",
"pyyaml",