forked from uPesy/easyeda2kicad.py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
101 lines (90 loc) · 2.16 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "atopile-easyeda2kicad"
description = "A Python script that convert any electronic components from LCSC or EasyEDA to a Kicad library"
readme = "README.md"
requires-python = ">=3.12"
dynamic = ["version"]
license = { file = "LICENSE" }
authors = [
{ name = "uPesy", email = "contact@upesy.com" },
{ name = "atopile", email = "info@atopile.io" },
]
keywords = ["easyeda", "kicad", "library", "conversion"]
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)",
]
dependencies = [
"pydantic>=2.5.0",
"requests>=2.31.0",
]
[project.optional-dependencies]
dev = [
"pre-commit>=3.6.0",
"ruff>=0.8.4",
"mypy>=1.14.1",
]
[project.urls]
Homepage = "https://github.com/uPesy/easyeda2kicad.py"
Repository = "https://github.com/uPesy/easyeda2kicad.py"
[project.scripts]
easyeda2kicad = "easyeda2kicad.__main__:main"
[tool.hatch.build.targets.wheel]
packages = ["easyeda2kicad"]
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "easyeda2kicad/_version.py"
# https://mypy.readthedocs.io/en/stable/config_file.html
[tool.mypy]
python_version = "3.12"
ignore_missing_imports = true
check_untyped_defs = true
disallow_any_expr = false
disallow_untyped_calls = false
ignore_errors = true
show_error_codes = true
pretty = true
warn_return_any = false
disallow_incomplete_defs = false
no_implicit_optional = false
[tool.ruff]
line-length = 88
target-version = "py312"
fix = true
unsafe-fixes = false
[tool.ruff.lint]
select = [
"E",
"F",
"I",
"B",
"C4",
]
extend-select = [
"B",
"C4",
"I",
"RUF",
"W",
"YTT",
]
ignore = [
"B034",
"E501",
"F403",
"F405",
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"