Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 10, 2024
1 parent 05b976c commit b338d26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/taichi/tools/diagnose.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ def main():
print(f"platform: {platform.platform()}")
print(f'architecture: {" ".join(platform.architecture())}')
print(f"uname: {platform.uname()}")
locale.setlocale(locale.LC_ALL, '')
locale.setlocale(locale.LC_ALL, "")
loc, enc = locale.getlocale(), locale.getpreferredencoding()
print(f'locale: {loc[0]}.{enc if enc else loc[1]}')
print(f"locale: {loc[0]}.{enc if enc else loc[1]}")
print(f'PATH: {os.environ.get("PATH")}')
print(f"PYTHONPATH: {sys.path}")
print("")
Expand Down

0 comments on commit b338d26

Please sign in to comment.