forked from kserve/kserve
-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathruff.toml
More file actions
33 lines (33 loc) · 807 Bytes
/
ruff.toml
File metadata and controls
33 lines (33 loc) · 807 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
line-length = 88
exclude = [
".venv",
"venv",
"python/kserve/kserve/exceptions.py",
"python/kserve/kserve/configuration.py",
"python/kserve/kserve/models",
"python/kserve/kserve/rest.py",
"python/kserve/kserve/api_client.py",
"python/kserve/test/test_v1*.py",
"python/kserve/kserve/__init__.py",
"python/kserve/test/__init__.py",
"python/kserve/test/test_knative*.py",
"python/kserve/kserve/protocol/grpc/grpc_predict_v2*.py",
"python/kserve/build/**/*.py",
"python/*_pb2.py",
"python/*_pb2.pyi",
"docs/**/*.py",
"docs/**/*.ipynb",
"python/kserve/kserve/protocol/rest/openai/types/openapi.py",
]
[lint]
ignore = [
"B017",
"E501",
"B904", #raise-without-from-inside-except
]
select = [
"B",
"E",
"F",
"W",
]