From bbf6d51f70a35d11a42c50484dbeb23fb2dc0d01 Mon Sep 17 00:00:00 2001 From: Rafael Guterres Jeffman <rjeffman@redhat.com> Date: Tue, 1 Sep 2020 15:58:01 -0300 Subject: [PATCH] Enable Python linters as Github Actions Flake8 and Pydocstyle were already being used as checks on Azure pipelines, and this change enable the use of both as Github actions run on every push (on any fork) end every pull-request. I uses `rjeffman/python-lint-action` to run both linters using the project's configuration. --- .github/workflows/lint.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 403edaaa..fc05dfe9 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -29,3 +29,5 @@ jobs: - name: Run yaml-lint uses: ibiqlik/action-yamllint@v1 + - name: Run Python linters + uses: rjeffman/python-lint-action@master -- GitLab