Skip to content

Commit

Permalink
fix: encoding errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Kirsche authored and Kludex committed Jul 17, 2023
1 parent f18045d commit c77ed8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bump_pydantic/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def main(

codemods = gather_codemods(disabled=disable)

log_fp = log_file.open("a+")
log_fp = log_file.open("a+", encoding="utf8")
partial_run_codemods = functools.partial(run_codemods, codemods, metadata_manager, scratch, package, diff)
with Progress(*Progress.get_default_columns(), transient=True) as progress:
task = progress.add_task(description="Executing codemods...", total=len(files))
Expand Down

0 comments on commit c77ed8c

Please sign in to comment.