Skip to content

Commit

Permalink
Add ruff CI job
Browse files Browse the repository at this point in the history
  • Loading branch information
djcopley committed May 14, 2024
1 parent 3c41fe2 commit 14668a0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: Ruff
on: [ push, pull_request ]
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: chartboost/ruff-action@v1
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,6 @@ pythonpath = "src"
addopts = [
"--import-mode=importlib",
]

[tool.ruff]
line-length = 120

0 comments on commit 14668a0

Please sign in to comment.