summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-04-05 17:43:12 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-04-05 17:43:12 +0200
commit77843355a04361c4a770f870e9406d4a748fb0ca (patch)
treeb856c730dbf09560d464dd1dc16328e6bbaa11a4
parent9caba190955cb9687074a1a176ee0947084d031e (diff)
CI: Update black formatter and apply changes
-rw-r--r--.github/workflows/static_checks.yml2
-rw-r--r--modules/openxr/SCsub1
-rw-r--r--platform/linuxbsd/detect.py2
3 files changed, 2 insertions, 3 deletions
diff --git a/.github/workflows/static_checks.yml b/.github/workflows/static_checks.yml
index 724bebbd13..5531509007 100644
--- a/.github/workflows/static_checks.yml
+++ b/.github/workflows/static_checks.yml
@@ -27,7 +27,7 @@ jobs:
sudo apt-get install -qq dos2unix recode clang-format-13 libxml2-utils
sudo update-alternatives --remove-all clang-format
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)
run: |
diff --git a/modules/openxr/SCsub b/modules/openxr/SCsub
index d5df33b261..ff320236a7 100644
--- a/modules/openxr/SCsub
+++ b/modules/openxr/SCsub
@@ -88,4 +88,3 @@ if env["tools"]:
# Needed to force rebuilding the module files when the thirdparty library is updated.
env.Depends(module_obj, thirdparty_obj)
-
diff --git a/platform/linuxbsd/detect.py b/platform/linuxbsd/detect.py
index f3a6004356..39f9b99108 100644
--- a/platform/linuxbsd/detect.py
+++ b/platform/linuxbsd/detect.py
@@ -115,7 +115,7 @@ def configure(env):
## Architecture
- is64 = sys.maxsize > 2 ** 32
+ is64 = sys.maxsize > 2**32
if env["bits"] == "default":
env["bits"] = "64" if is64 else "32"