-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
A. Schulze
committed
Nov 13, 2023
1 parent
9257f4c
commit 4646f4e
Showing
1 changed file
with
25 additions
and
0 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,25 @@ | ||
name: pylint | ||
on: | ||
push: | ||
pull_request: | ||
jobs: | ||
run_pylint: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: [3.x] | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
- name: set up python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: install pylint | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install pylint | ||
- name: run pylint | ||
shell: sh | ||
run: | | ||
find . -name '*.py' -print0 | xargs --null --no-run-if-empty pylint |