Skip to content

Commit 5f662d4

Browse files
committed
ci: Update Ruff's config (Python target, output format)
1 parent 1977545 commit 5f662d4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

config/ruff.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
target-version = "py39"
1+
target-version = "py310"
22
line-length = 120
3+
output-format = "concise"
34

45
[lint]
56
exclude = [

duties.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def check_quality(ctx: Context) -> None:
167167
```
168168
"""
169169
ctx.run(
170-
tools.ruff.check(*PY_SRC_LIST, config="config/ruff.toml"),
170+
tools.ruff.check(*PY_SRC_LIST, config="config/ruff.toml", color=True),
171171
title=_pyprefix("Checking code quality"),
172172
)
173173

0 commit comments

Comments
 (0)