-
Notifications
You must be signed in to change notification settings - Fork 53
/
pyproject.toml
98 lines (88 loc) · 2.23 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
[build-system]
requires = ["pip", "setuptools", "wheel"]
[project]
name = "ai8x-synthesis"
description = "Quantization and Synthesis (Device Specific Code Generation) for ADI's MAX78000 and MAX78002 Edge AI Devices"
authors = [
{name = "Analog Devices Inc."},
]
requires-python = ">=3.11.8,<3.12"
readme = "README.md"
license = {file = "LICENSE.txt"}
keywords = ["machine-learning", "ai", "deep-learning", "artificial-intelligence", "analog-devices", "maxim", "maxim-integrated", "max78000", "max78002"]
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/analogdevicesinc/MaximAI_Documentation"
Documentation = "https://github.com/analogdevicesinc/ai8x-synthesis/blob/develop/README.md"
Repository = "https://github.com/analogdevicesinc/ai8x-synthesis.git"
Issues = "https://github.com/analogdevicesinc/ai8x-synthesis/issues"
[project.scripts]
izer = "izer.izer:main"
[tool.black]
line-length = 99
[tool.codespell]
count = ""
ignore-words-list = "nervana,cconfiguration,anormal"
quiet-level = 3
skip = "*.dasm,*.map,*.pdf,./rtldev,./.mypy_cache,./sdk,./.venv,./.git,./super-linter.log,./pyproject.toml"
ignore-regex = '^\s+"image/png".*$'
[tool.pytest.ini_options]
norecursedirs = [
".git",
".venv",
"assets",
"attic",
"bin",
"etc",
"docs",
"lib",
"networks",
"rtldev",
"sdk",
"share",
"trained",
]
[tool.isort]
profile = ""
line_length = 99
known_math = [
"numpy",
"torch",
"torchvision",
"torchaudio",
"tensorboard",
"tensorflow",
]
sections = [
"FUTURE",
"STDLIB",
"MATH",
"THIRDPARTY",
"FIRSTPARTY",
"LOCALFOLDER",
]
[tool.mypy]
ignore_missing_imports = true
follow_imports = "silent"
show_column_numbers = true
[tool.pylint."MESSAGES CONTROL"]
disable = "invalid-name,consider-using-with,duplicate-code,not-callable"
[tool.pylint.TYPECHECK]
ignored-modules = "numpy,matplotlib.cm,torch"
ignored-classes = "ModelProto"
[tool.pylint.FORMAT]
max-line-length = 99
[tool.pylint.DESIGN]
max-locals = 100
max-statements = 2000
min-public-methods = 0
max-branches = 180
max-module-lines = 5000
max-nested-blocks = 10
max-args = 55
max-attributes = 60
max-public-methods = 35
max-bool-expr = 12
max-parents = 15
[tool.pylint.MASTER]
ignore = "CMSIS_5,sdk"