-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
64 lines (52 loc) · 1.1 KB
/
pyproject.toml
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[project]
name = 'ti-vit'
version = '0.0.1'
dependencies = [
'onnx',
'onnx-simplifier',
'torch==1.13.1',
'torchvision==0.14.1',
]
[project.scripts]
export-ti-vit = "ti_vit.export:export_ti_compatible_vit"
[tool.black]
line-length = 120
target-version = ["py38", "py39"]
include = '\.pyi?$'
[tool.isort]
profile = "black"
line_length = 120
ensure_newline_before_comments = true
force_single_line = true
[tool.nbqa.mutate]
pyupgrade = 1
[tool.nbqa.addopts]
pyupgrade = ["--py38-plus"]
[tool.docformatter]
recursive = true
wrap-summaries = 0
wrap-descriptions = 0
blank = true
black = true
pre-summary-newline = true
[tool.pylint.format]
max-line-length = 120
[tool.pylint.design]
max-args = 12
max-locals = 30
max-attributes = 20
min-public-methods = 0
[tool.pylint.typecheck]
generated-members = ["torch.*"]
[tool.pylint.messages_control]
disable = [
"logging-fstring-interpolation",
"missing-module-docstring",
"unnecessary-pass",
]
[tool.pylint.BASIC]
good-names = ["B", "N", "C"]
[tool.pyright]
reportMissingImports = false
reportMissingTypeStubs = false
reportWildcardImportFromLibrary = false