Skip to content

Commit a6f9490

Browse files
committed
Merge branch 'second-branch' of https://github.com/maloyparser/fastapi-backend-course into second-branch
2 parents c152ca9 + 46ef92e commit a6f9490

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: CI
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [ main, second-branch ]
66
pull_request:
7-
branches: [ main ]
7+
branches: [ main, second-branch ]
88

99
jobs:
1010
lint:
@@ -32,8 +32,8 @@ jobs:
3232
3333
- name: Auto-fix code with Ruff
3434
run: |
35-
ruff format . --fix --line-length 88 --exclude migrations,venv || true
35+
ruff check . --fix --line-length 88 || true
3636
3737
- name: Run Ruff linter
3838
run: |
39-
ruff check . --select ALL --ignore F401,W391 --line-length 88
39+
ruff check . --line-length 88

.ruff.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
line-length = 88
2+
select = ["E", "F"]
3+
ignore = ["F401", "W391", "E501"]
4+
exclude = [
5+
"venv",
6+
"migrations",
7+
".git",
8+
"__pycache__",
9+
"node_modules"
10+
]

0 commit comments

Comments
 (0)