File tree Expand file tree Collapse file tree 1 file changed +67
-0
lines changed
Expand file tree Collapse file tree 1 file changed +67
-0
lines changed Original file line number Diff line number Diff line change 1+ [build-system ]
2+ # Should be mirrored in requirements-build.txt
3+ requires = [
4+ " cmake>=3.21" ,
5+ " ninja" ,
6+ " packaging" ,
7+ " setuptools >= 49.4.0" ,
8+ " torch == 2.3.0" ,
9+ " wheel" ,
10+ ]
11+ build-backend = " setuptools.build_meta"
12+
13+ [tool .ruff ]
14+ # Allow lines to be as long as 80.
15+ line-length = 80
16+ exclude = [
17+ # External file, leaving license intact
18+ " examples/fp8/quantizer/quantize.py"
19+ ]
20+
21+ [tool .ruff .lint ]
22+ select = [
23+ # pycodestyle
24+ " E" ,
25+ # Pyflakes
26+ " F" ,
27+ # pyupgrade
28+ # "UP",
29+ # flake8-bugbear
30+ " B" ,
31+ # flake8-simplify
32+ " SIM" ,
33+ # isort
34+ # "I",
35+ " G" ,
36+ ]
37+ ignore = [
38+ # star imports
39+ " F405" , " F403" ,
40+ # lambda expression assignment
41+ " E731" ,
42+ # Loop control variable not used within loop body
43+ " B007" ,
44+ ]
45+
46+ [tool .mypy ]
47+ python_version = " 3.8"
48+
49+ ignore_missing_imports = true
50+ check_untyped_defs = true
51+ follow_imports = " skip"
52+
53+ files = " vllm"
54+ # TODO(woosuk): Include the code from Megatron and HuggingFace.
55+ exclude = [
56+ " vllm/model_executor/parallel_utils/|vllm/model_executor/models/" ,
57+ # Ignore triton kernels in ops.
58+ ' vllm/attention/ops/.*\.py$'
59+ ]
60+
61+ [tool .codespell ]
62+ ignore-words-list = " dout, te, indicies"
63+ skip = " ./tests/prompts,./benchmarks/sonnet.txt"
64+
65+ [tool .isort ]
66+ use_parentheses = true
67+ skip_gitignore = true
You can’t perform that action at this time.
0 commit comments