Skip to content

Commit

Permalink
Fix make of_format fail in ubuntu (#6120)
Browse files Browse the repository at this point in the history
Co-authored-by: oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
  • Loading branch information
tingkuanpei and oneflow-ci-bot committed Aug 31, 2021
1 parent 9264f59 commit 8cd65f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/check/run_license_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def get_txt(path: str):


def check_file(path):
with open(path) as f:
with open(path, "r", encoding="utf-8") as f:
content = f.read()
txt = get_txt(path)
if "import doctest" in content and "raise_on_error=True" not in content:
Expand Down

0 comments on commit 8cd65f8

Please sign in to comment.