diff options
Diffstat (limited to 'utils/doclinter.py')
-rw-r--r-- | utils/doclinter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/doclinter.py b/utils/doclinter.py index 6ef8cbe10..d67a49b05 100644 --- a/utils/doclinter.py +++ b/utils/doclinter.py @@ -12,7 +12,7 @@ LEADING_SPACES = re.compile(r'^(\s*)') def lint(path: str) -> int: - with open(path) as f: + with open(path, encoding='utf-8') as f: document = f.readlines() errors = 0 |