From 2e37ed341709f787f253a765f0aeabf5264f870f Mon Sep 17 00:00:00 2001 From: "david.marinho@codacy.com" Date: Mon, 3 Feb 2025 18:42:08 +0000 Subject: [PATCH] add pmd7 and eslint9 to the workflows --- tools/check-security-tools.py | 4 ++++ tools/check-supported-tools.py | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/tools/check-security-tools.py b/tools/check-security-tools.py index 9e115a5baa..9d23b981fc 100755 --- a/tools/check-security-tools.py +++ b/tools/check-security-tools.py @@ -32,6 +32,10 @@ def check_security_tools(): # Hack to ensure that Pylint is detected if tool_short_name == "pylintpython3": tool_name = "Pylint" + if tool_short_name == "ESLint9": + tool_name = "ESLint" + if tool_short_name == "PMD7": + tool_name = "PMD" tool_languages = tool["languages"] cursor = True code_patterns = [] diff --git a/tools/check-supported-tools.py b/tools/check-supported-tools.py index db3d70becb..8930d1f442 100755 --- a/tools/check-supported-tools.py +++ b/tools/check-supported-tools.py @@ -29,6 +29,10 @@ def check_supported_tools(): # Hack to ensure that Pylint is detected if tool_short_name == "pylintpython3": tool_name = "Pylint" + if tool_short_name == "ESLint9": + tool_name = "ESLint" + if tool_short_name == "PMD7": + tool_name = "PMD" tool_languages = tool["languages"] if tool_name.lower() in documentation or tool_short_name.lower() in documentation: print(emoji.emojize(f":check_mark_button: {tool_name} is included "