diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-01-27 16:04:13 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-01-27 16:04:26 +0000 |
commit | 7ad3acc8faa151e307c82b659f884205ef47012b (patch) | |
tree | da74df356ea350b3ee9fb0bf71937e0bdb7896a6 /pre_commit/languages/python.py | |
parent | Releasing debian version 2.8.2-1. (diff) | |
download | pre-commit-7ad3acc8faa151e307c82b659f884205ef47012b.tar.xz pre-commit-7ad3acc8faa151e307c82b659f884205ef47012b.zip |
Merging upstream version 2.9.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | pre_commit/languages/python.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pre_commit/languages/python.py b/pre_commit/languages/python.py index 65f521c..43b7280 100644 --- a/pre_commit/languages/python.py +++ b/pre_commit/languages/python.py @@ -36,7 +36,7 @@ def _version_info(exe: str) -> str: def _read_pyvenv_cfg(filename: str) -> Dict[str, str]: ret = {} - with open(filename) as f: + with open(filename, encoding='UTF-8') as f: for line in f: try: k, v = line.split('=') |