mirror of
https://github.com/godotengine/godot
synced 2024-09-04 21:58:28 +00:00
CI: Update black formatter and apply changes
This commit is contained in:
parent
9caba19095
commit
77843355a0
2
.github/workflows/static_checks.yml
vendored
2
.github/workflows/static_checks.yml
vendored
|
@ -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: |
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue