forked from atopile/atopile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
141 lines (125 loc) · 3.01 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
# Add the built viewer to the python package
[tool.hatch.build.targets.wheel]
artifacts = [
"**/viewer/dist",
]
[tool.hatch.build.targets.sdist]
artifacts = [
"**/viewer/dist",
]
[project]
name = "atopile"
description = "A toolchain bringing the best of software development to the real-world!"
readme = "README.md"
requires-python = ">=3.11"
license = ""
authors = [
{ name = "Matthew Wildoer", email = "[email protected]" },
{ name = "Timothee Peter", email = "[email protected]" },
{ name = "Narayan Powderly", email = "[email protected]" },
]
classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python",
"Typing :: Typed",
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"antlr4-python3-runtime==4.13.0",
"attrs>=23.2.0",
"cattrs>=23.2.3",
"case-converter>=1.1.0",
"click>=8.1.7",
"DeepDiff>=6.7.1",
"easyeda2ato>=0.2.4",
"eseries>=1.2.1",
"fastapi>=0.109.0",
"gitpython>=3.1.41",
"igraph>=0.11.3",
"jinja2>=3.1.3",
"natsort>=8.4.0",
"packaging>=23.2",
"pandas>=2.1.4",
"pint>=0.23",
"pygls>=1.3.0",
"rich>=13.7.0",
"ruamel.yaml>=0.18.5",
"scipy>=1.12.0",
"schema>=0.7.5",
"semver>=3.0.2",
"toolz>=0.12.0",
"uvicorn[standard]>=0.25.0",
"watchfiles>=0.21.0",
"networkx>=3.2.1",
"Flask>=3.0.2",
"Flask-Cors>=4.0.0",
"waitress>=3.0.0",
]
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/atopile/atopile"
[project.optional-dependencies]
test = [
"pytest",
"pytest-html",
"pytest-datafiles",
"pytest-asyncio!=0.23.3",
"requests",
]
docs = [
"mkdocs",
"mkdocs-material",
"mkdocs-drawio-file >= 1.5.2",
]
dev = [
"ruff",
"black",
"debugpy",
"antlr4-tools",
]
[project.scripts]
ato = "atopile.cli.cli:cli"
[tool.hatch.version]
source = "vcs"
[tool.isort]
profile = "black"
known_third_party = []
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
"--html=artifacts/test-report.html",
"--self-contained-html",
]
[tool.ruff]
exclude = [
"src/atopile/parser/AtopileLexer.py",
"src/atopile/parser/AtopileLexerBase.py",
"src/atopile/parser/AtopileParser.py",
"src/atopile/parser/AtopileParserBase.py",
"src/atopile/parser/AtopileParserListener.py",
"src/atopile/parser/AtopileParserVisitor.py",
"src/atopile/kicad_plugin",
"docs/",
]
ignore = [
"E501", # line too long (ignore for the minute)
"C901", # too complex
]
[tool.pylint.main]
ignore-paths = [
"tests",
"src/atopile/parser/",
]
[tool.black]
line-length = 88
target-version = ['py311']
extend-exclude = "atopile/parser/"