Skip to content

Commit

Permalink
misc: Create GitHub Action to lint Python code (#1065)
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Mar 13, 2023
1 parent 102842a commit c8076fa
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/lint-python.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# https://beta.ruff.rs
name: ruff
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: pip install --user ruff
- run: ruff --format=github --ignore="E722,F40,F841" --line-length=681 --target-version=py37 .

0 comments on commit c8076fa

Please sign in to comment.