-
Notifications
You must be signed in to change notification settings - Fork 536
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Pylint support and enable Pylint CI checks
- Loading branch information
1 parent
8e9b1bc
commit 08a31e3
Showing
5 changed files
with
75 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
on: [ push, pull_request ] | ||
name: Pylint linting | ||
jobs: | ||
pylint: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: archlinux/archlinux:latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Prepare arch | ||
run: | | ||
pacman-key --init | ||
pacman --noconfirm -Sy archlinux-keyring | ||
pacman --noconfirm -Syyu | ||
pacman --noconfirm -Sy python-pip python-pyparted python-simple-term-menu pkgconfig gcc | ||
- run: pip install --break-system-packages --upgrade pip | ||
- name: Install Pylint and Pylint plug-ins | ||
run: pip install --break-system-packages .[dev] | ||
- run: python --version | ||
- run: pylint --version | ||
- name: Lint with Pylint | ||
run: pylint . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters