Skip to content

Commit

Permalink
use ruff github action
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskapp committed Nov 10, 2024
1 parent 328eb71 commit a4ff505
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,17 +119,7 @@ jobs:
run: cd ../../ && docker compose up
- name: Move
run: mv ../../output/*.py .
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with ruff
run: |
# stop the build if there are Python syntax errors or undefined names
ruff --format=github --select=E9,F63,F7,F82 --target-version=py37 .
# default set of ruff rules with GitHub Annotations
ruff --format=github --target-version=py37 .
- uses: astral-sh/ruff-action@v1
- name: Run
run: python main.py
rust:
Expand Down

0 comments on commit a4ff505

Please sign in to comment.