Skip to content

Commit

Permalink
Fix make of_format fail in ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
tingkuanpei committed Aug 31, 2021
1 parent 96f5648 commit 51a1948
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 51a1948

Please sign in to comment.