forked from llm-d/llm-d-async
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
34 lines (30 loc) · 818 Bytes
/
Copy pathpyproject.toml
File metadata and controls
34 lines (30 loc) · 818 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Python tooling configuration
# Only needed if this repo contains Python code
[tool.ruff]
line-length = 120
target-version = "py311"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"N", # pep8-naming
"UP", # pyupgrade
"B", # flake8-bugbear
"S", # flake8-bandit (security)
"A", # flake8-builtins
"C4", # flake8-comprehensions
"RET", # flake8-return
"SIM", # flake8-simplify
]
ignore = [
"S101", # assert used (OK in tests)
"S603", # subprocess call with shell=false (OK)
"S607", # start process with partial path (OK)
]
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = ["S101"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"