diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-05-22 09:26:42 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-05-22 09:26:42 +0200 |
commit | c40c89f94cc8a6dced2b14f51aa2e87b02b7ee22 (patch) | |
tree | 8d52a7b8716376aab4a7cb2aaa0d68a7518ec6cc /misc/scripts/install_d3d12_sdk_windows.py | |
parent | e34b97312e91606dae2e26064dcd628dc360dc88 (diff) | |
parent | d9f8ef68df1df8cf88d484fc22995f55a9c3f9aa (diff) | |
download | redot-engine-c40c89f94cc8a6dced2b14f51aa2e87b02b7ee22.tar.gz |
Merge pull request #90457 from Chubercik/ruff-formatter
Replace `black` formatter with `ruff`
Diffstat (limited to 'misc/scripts/install_d3d12_sdk_windows.py')
-rwxr-xr-x | misc/scripts/install_d3d12_sdk_windows.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/scripts/install_d3d12_sdk_windows.py b/misc/scripts/install_d3d12_sdk_windows.py index aed80d81a4..d7574e6222 100755 --- a/misc/scripts/install_d3d12_sdk_windows.py +++ b/misc/scripts/install_d3d12_sdk_windows.py @@ -1,15 +1,15 @@ #!/usr/bin/env python import os -import urllib.request import shutil import subprocess import sys +import urllib.request # Enable ANSI escape code support on Windows 10 and later (for colored console output). # <https://github.com/python/cpython/issues/73245> if sys.platform == "win32": - from ctypes import windll, c_int, byref + from ctypes import byref, c_int, windll stdout_handle = windll.kernel32.GetStdHandle(c_int(-11)) mode = c_int(0) |