Skip to content

Commit

Permalink
Added separate pylint run
Browse files Browse the repository at this point in the history
Test: Added a separate pylint run (in addition to the one in the Ansible
sanity test), because it can be run on the test sources as well, and because
the santy test pylint has important checks disabled. (issue #1007)

Details:

* Added a new make target 'pylint'.

* Added 'make pylnt' to the test workflow.

* Fixed issues reported by pylint (many).

Signed-off-by: Andreas Maier <[email protected]>
  • Loading branch information
andy-maier committed Jul 3, 2024
1 parent 9870a29 commit df3c585
Show file tree
Hide file tree
Showing 62 changed files with 1,996 additions and 1,217 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,12 @@ jobs:
RUN_TYPE: ${{ steps.set-run-type.outputs.result }}
run: |
make check
- name: Run pylint
env:
PACKAGE_LEVEL: ${{ matrix.package_level }}
RUN_TYPE: ${{ steps.set-run-type.outputs.result }}
run: |
make pylint
- name: Run sanity
env:
PACKAGE_LEVEL: ${{ matrix.package_level }}
Expand Down
Loading

0 comments on commit df3c585

Please sign in to comment.