Skip to content

Commit

Permalink
Merge pull request #102 from hbre/ini-file-encoding-utf8
Browse files Browse the repository at this point in the history
Make Ini file encoding explicit
  • Loading branch information
macisamuele authored Jul 1, 2022
2 parents ee59243 + b1c76f2 commit 09e789a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion language_formatters_pre_commit_hooks/pretty_format_ini.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def pretty_format_ini(argv: typing.Optional[typing.List[str]] = None) -> int:
status = 0

for ini_file in set(args.filenames):
with open(ini_file) as input_file:
with open(ini_file, encoding="utf8") as input_file:
string_content = input_file.read()

try:
Expand Down

0 comments on commit 09e789a

Please sign in to comment.