From 8242ec09a7465529dff9c8cc1599918a15a2b851 Mon Sep 17 00:00:00 2001 From: Cleber Rosa Date: Wed, 11 Sep 2024 06:37:11 -0400 Subject: [PATCH] Static checks: replace style with one by avocado-static-checks This replaces another one of the in-tree check scripts with the one provided by avocado-static-checks. Signed-off-by: Cleber Rosa --- selftests/check.py | 1 + selftests/style.sh | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) delete mode 100755 selftests/style.sh diff --git a/selftests/check.py b/selftests/check.py index 575de2d8de..10080a9271 100755 --- a/selftests/check.py +++ b/selftests/check.py @@ -600,6 +600,7 @@ def create_suites(args): # pylint: disable=W0621 config_check_static["resolver.references"].append( "static-checks/check-import-order" ) + config_check_static["resolver.references"].append("static-checks/check-style") suites.append(TestSuite.from_config(config_check_static, "static-checks")) # ======================================================================== diff --git a/selftests/style.sh b/selftests/style.sh deleted file mode 100755 index 511bccf09a..0000000000 --- a/selftests/style.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -e -echo "** Running black..." - -python3 -m black --check --diff --color .