CI: Update black formatter and apply changes

This commit is contained in:
Rémi Verschelde 2022-04-05 17:43:12 +02:00
parent 9caba19095
commit 77843355a0
3 changed files with 2 additions and 3 deletions

View File

@ -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: |

View File

@ -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)

View File

@ -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"