Explorar o código

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.
Rémi Verschelde %!s(int64=5) %!d(string=hai) anos
pai
achega
41c735fe50
Modificáronse 2 ficheiros con 2 adicións e 4 borrados
  1. 1 1
      .github/workflows/static_checks.yml
  2. 1 3
      modules/mono/config.py

+ 1 - 1
.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: |

+ 1 - 3
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