Skip to content

Commit b1e1959

Browse files
committed
ci: enable ruff --fix and mark first-party package
1 parent 8188724 commit b1e1959

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/ci-cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
pip install -r requirements.txt
2929
3030
- name: Lint (ruff)
31-
run: ruff check .
31+
run: ruff check . --fix
3232

3333
- name: Run tests
3434
run: pytest -q

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@ target-version = "py311"
55

66
[tool.ruff.lint]
77
select = ["E", "F", "I"]
8+
9+
[tool.ruff.lint.isort]
10+
known-first-party = ["app"]

0 commit comments

Comments
 (0)