From 513e297f3c066c88f1effdcc9043beb28e0e49f8 Mon Sep 17 00:00:00 2001 From: Ashish Bhatia Date: Tue, 16 Jul 2024 15:50:29 -0700 Subject: [PATCH] chore: detect `ruff` as a Python linter as well Earlier, only `pylint` was detected as Python linter --- src/gabo/internal/generator/all_options.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gabo/internal/generator/all_options.go b/src/gabo/internal/generator/all_options.go index 02ed0f7..93bf39b 100644 --- a/src/gabo/internal/generator/all_options.go +++ b/src/gabo/internal/generator/all_options.go @@ -114,7 +114,7 @@ func GetOptions() []Option { }, _Option{ "Python Linter", "lint-python", newFileMatcher("*.py"), - newPatternMatcher("pylint "), + newPatternMatcher("pylint ", "ruff "), newGenerator(_lintPythonYaml), "lint-python.yaml", }, _Option{