tools/koji-compose.py: test with pylint and fix found issues
Check `tools/koji-compose.py` using pylint as part of GitHub actions. Fix all issues that were found by pylint.
This commit is contained in:
parent
7c73861c22
commit
31b1a383f0
2 changed files with 10 additions and 5 deletions
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
|
|
@ -88,7 +88,7 @@ jobs:
|
|||
steps:
|
||||
|
||||
- name: Install build and test dependencies
|
||||
run: dnf -y install python3-pylint git-core
|
||||
run: dnf -y install python3-pylint git-core python3-requests
|
||||
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v3
|
||||
|
|
@ -97,7 +97,7 @@ jobs:
|
|||
|
||||
- name: Analysing the code with pylint
|
||||
run: |
|
||||
python3 -m pylint dnf-json
|
||||
python3 -m pylint dnf-json tools/koji-compose.py
|
||||
|
||||
lint:
|
||||
name: "⌨ Lint"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue