mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-03-26 21:33:05 +00:00
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.
This commit is contained in:
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@@ -29,3 +29,5 @@ jobs:
|
||||
- name: Run yaml-lint
|
||||
uses: ibiqlik/action-yamllint@v1
|
||||
|
||||
- name: Run Python linters
|
||||
uses: rjeffman/python-lint-action@master
|
||||
|
||||
Reference in New Issue
Block a user