Skip to content

Commit b338d26

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 05b976c commit b338d26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/taichi/tools/diagnose.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ def main():
1616
print(f"platform: {platform.platform()}")
1717
print(f'architecture: {" ".join(platform.architecture())}')
1818
print(f"uname: {platform.uname()}")
19-
locale.setlocale(locale.LC_ALL, '')
19+
locale.setlocale(locale.LC_ALL, "")
2020
loc, enc = locale.getlocale(), locale.getpreferredencoding()
21-
print(f'locale: {loc[0]}.{enc if enc else loc[1]}')
21+
print(f"locale: {loc[0]}.{enc if enc else loc[1]}")
2222
print(f'PATH: {os.environ.get("PATH")}')
2323
print(f"PYTHONPATH: {sys.path}")
2424
print("")

0 commit comments

Comments
 (0)