-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathpyproject.toml
More file actions
46 lines (39 loc) · 897 Bytes
/
pyproject.toml
File metadata and controls
46 lines (39 loc) · 897 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
35
36
37
38
39
40
41
42
43
44
45
[build-system]
requires = ["setuptools==69.5.1", "wheel", "packaging", "ninja>=1.11.1", "torch==2.10.0"]
build-backend = "setuptools.build_meta"
[tool.yapf]
based_on_style = "pep8"
column_limit = 120
disable_split_list_with_comment = true
each_dict_entry_on_separate_line=false
split_before_named_assigns = false
split_complex_comprehension = true
[tool.yapfignore]
ignore_patterns = [
]
[tool.ruff]
line-length = 120
src = ["qllm"]
exclude = ["qllm/utils/onnx/merge_encoder_decoder.py",
"qllm/plugin",
"qllm/modeling/q_layers/fused_mlp.py",
"qllm/modeling/q_layers/fused_attn.py",
"qllm/modeling/q_layers/quant_linear_triton.py",
"qllm/custom",
]
[tool.ruff.lint]
ignore = ["E501", "E701", "E731", "E741",]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
# "UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
# "I",
]