summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-09-25 15:46:26 +0200
committerRémi Verschelde <rverschelde@gmail.com>2020-09-25 15:49:37 +0200
commit41c735fe5016285a8f0ce1175c1e8c5ab8c451af (patch)
tree25938a127e3d307d05d974500e95e715c82475a8
parented91d3efeb6e7eab5292865b5d262b3d0d52313c (diff)
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.
-rw-r--r--.github/workflows/static_checks.yml2
-rw-r--r--modules/mono/config.py4
2 files changed, 2 insertions, 4 deletions
diff --git a/.github/workflows/static_checks.yml b/.github/workflows/static_checks.yml
index c2af0ac549..3fa759bb03 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 95459a4779..d060ae9b28 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