Skip to content

Commit

Permalink
Add ruff CI job (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
djcopley authored May 14, 2024
1 parent 3c41fe2 commit 438df40
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 438df40

Please sign in to comment.