From 41c735fe5016285a8f0ce1175c1e8c5ab8c451af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Fri, 25 Sep 2020 15:46:26 +0200 Subject: [PATCH] Style: Fix black formatting after #42332 Somehow it did not run CI checks so we missed that one. Also pin `black` version to latest upstream release. --- .github/workflows/static_checks.yml | 2 +- modules/mono/config.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/static_checks.yml b/.github/workflows/static_checks.yml index c2af0ac5493..3fa759bb03c 100644 --- a/.github/workflows/static_checks.yml +++ b/.github/workflows/static_checks.yml @@ -19,7 +19,7 @@ jobs: - name: Install dependencies run: | sudo apt-get install -qq dos2unix recode clang-format - sudo pip3 install git+https://github.com/psf/black@master pygments + sudo pip3 install black==20.8b1 pygments - name: File formatting checks (file_format.sh) run: | diff --git a/modules/mono/config.py b/modules/mono/config.py index 95459a4779f..d060ae9b284 100644 --- a/modules/mono/config.py +++ b/modules/mono/config.py @@ -32,9 +32,7 @@ def configure(env): envvars.Add(BoolVariable("mono_glue", "Build with the Mono glue sources", True)) envvars.Add(BoolVariable("build_cil", "Build C# solutions", True)) envvars.Add( - BoolVariable( - "copy_mono_root", "Make a copy of the Mono installation directory to bundle with the editor", True - ) + BoolVariable("copy_mono_root", "Make a copy of the Mono installation directory to bundle with the editor", True) ) # TODO: It would be great if this could be detected automatically instead