-
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.
Rename and refractor linting workflow
- Loading branch information
1 parent
dfc7e20
commit 0391c59
Showing
2 changed files
with
28 additions
and
25 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,28 @@ | ||
name: Run Linting | ||
|
||
on: [push] | ||
|
||
jobs: | ||
lint_code: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Python 3.11.4 | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: '3.11.4' | ||
cache: 'pip' | ||
|
||
- name: Install pip | ||
run: python -m pip install --upgrade pip | ||
|
||
- name: Install dependencies | ||
run: pip install -r requirements.txt | ||
|
||
- name: Install pylint | ||
run: pip install pylint | ||
|
||
- name: Run pylint | ||
run: pylint $(git ls-files '*.py') |
This file was deleted.
Oops, something went wrong.