From 85d27ab220ec24b95f2eec8382b902e994aa9ee1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Rebollo=20P=C3=A9rez?= Date: Fri, 28 Jun 2024 15:04:21 +0100 Subject: [PATCH] style: pep8 and yamllint --- .github/workflows/code_analysis.yaml | 5 +---- .github/workflows/scripts/linter.py | 1 - 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/code_analysis.yaml b/.github/workflows/code_analysis.yaml index 12a752329f..3d24f6d0cb 100644 --- a/.github/workflows/code_analysis.yaml +++ b/.github/workflows/code_analysis.yaml @@ -1,10 +1,7 @@ name: Code analysis on: pull_request: - types: - - opened - - ready_for_review - - synchronize + types: [opened, ready_for_review, synchronize] jobs: Linting: if: ${{ github.event.pull_request.draft == false }} diff --git a/.github/workflows/scripts/linter.py b/.github/workflows/scripts/linter.py index 59b07344ec..faa2becd86 100644 --- a/.github/workflows/scripts/linter.py +++ b/.github/workflows/scripts/linter.py @@ -93,7 +93,6 @@ def run_python_linter(python_files): print('No python files were found. Skipping python linter analysis') return 0 - linters_data = { 'pycodestyle': { 'command': 'pycodestyle',