-
Notifications
You must be signed in to change notification settings - Fork 14
/
pyproject.toml
51 lines (44 loc) · 1.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
[project]
name = "librepcb-parts-generator"
authors = [
{ name = "Danilo Bargen", email = "[email protected]" },
{ name = "Raphael Nestler", email = "[email protected]" },
]
requires-python = ">=3.8"
dependencies = [
"cadquery == 2.3.1",
"numpy < 2", # Dependency of cadquery, but not working with v2.x
]
version = "0.1.0"
[project.optional-dependencies]
test = [
"pytest ~= 8.2.1",
"flake8 ~= 4.0.1",
"mypy == 1.10.0",
"isort ~= 5.13.2",
]
[tool.setuptools.packages.find]
exclude = ["out*"]
[tool.mypy]
warn_unused_configs = true
strict = true
exclude = [
'build'
]
[[tool.mypy.overrides]]
module = [
'test_common',
'test_generate_connectors',
'test_generate_qfn',
'test_generate_idc',
'test_generate_stm_mcu',
]
disallow_untyped_defs = false
[tool.isort]
line_length = 120
multi_line_output = 5
balanced_wrapping = false
known_typing = "typing"
sections = "FUTURE,STDLIB,TYPING,THIRDPARTY,FIRSTPARTY,LOCALFOLDER"
[tool.pytest.ini_options]
addopts = "--doctest-modules"