Skip to content

Commit

Permalink
Add Python lint workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
EtiennePerot committed Sep 30, 2024
1 parent 9f331f4 commit 52fc5e5
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/python-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Python lint
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Lint with Ruff
run: |
pip install ruff
ruff check --output-format=github .
continue-on-error: true

0 comments on commit 52fc5e5

Please sign in to comment.