Skip to content

Commit

Permalink
Merge branch 'add-encoding-to-script' into non-ascii-working-directory
Browse files Browse the repository at this point in the history
  • Loading branch information
privet-kitty committed Oct 22, 2023
2 parents da7937e + d6a186d commit b7c5906
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/poetry/utils/env/script_strings.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
from __future__ import annotations

import locale

import packaging.tags


GET_SYS_TAGS = f"""
GET_SYS_TAGS = f"""\
# encoding: {locale.getpreferredencoding(False)}
import importlib.util
import json
import sys
Expand Down

0 comments on commit b7c5906

Please sign in to comment.