2
0
Эх сурвалжийг харах

CI: Update black formatter and apply changes

Rémi Verschelde 3 жил өмнө
parent
commit
77843355a0

+ 1 - 1
.github/workflows/static_checks.yml

@@ -27,7 +27,7 @@ jobs:
           sudo apt-get install -qq dos2unix recode clang-format-13 libxml2-utils
           sudo apt-get install -qq dos2unix recode clang-format-13 libxml2-utils
           sudo update-alternatives --remove-all clang-format
           sudo update-alternatives --remove-all clang-format
           sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-13 100
           sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-13 100
-          sudo pip3 install black==21.10b0 pygments
+          sudo pip3 install black==22.3.0 pygments
 
 
       - name: File formatting checks (file_format.sh)
       - name: File formatting checks (file_format.sh)
         run: |
         run: |

+ 0 - 1
modules/openxr/SCsub

@@ -88,4 +88,3 @@ if env["tools"]:
 
 
 # Needed to force rebuilding the module files when the thirdparty library is updated.
 # Needed to force rebuilding the module files when the thirdparty library is updated.
 env.Depends(module_obj, thirdparty_obj)
 env.Depends(module_obj, thirdparty_obj)
-

+ 1 - 1
platform/linuxbsd/detect.py

@@ -115,7 +115,7 @@ def configure(env):
 
 
     ## Architecture
     ## Architecture
 
 
-    is64 = sys.maxsize > 2 ** 32
+    is64 = sys.maxsize > 2**32
     if env["bits"] == "default":
     if env["bits"] == "default":
         env["bits"] = "64" if is64 else "32"
         env["bits"] = "64" if is64 else "32"