-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
73 lines (59 loc) · 1.83 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
[project]
name = "kiclearance"
version = "0.1.2"
authors = [
{ name = "UPB-LEA" },
]
description = "Generate clearance rules for KiCAD by a table."
readme = "README.rst"
requires-python = "~=3.8"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dynamic = ["dependencies"] # commented due to packaging issues: "optional-dependencies"
[tool.setuptools.dynamic]
dependencies = { file = ["requirements.txt"] }
optional-dependencies = { dev = { file = ["requirements-dev.txt"] } }
[project.urls]
Homepage = "https://github.com/upb-lea/kiclearance"
Issues = "https://github.com/upb-lea/kiclearance/issues"
[build-system]
requires = ["hatchling", "hatch-requirements-txt"]
build-backend = "hatchling.build"
[tool.hatch.metadata.hooks.requirements_txt]
files = ["requirements.txt"]
[tool.hatch.build.targets.wheel]
packages = ["kiclearance/"]
[tool.hatch.build.targets.sdist]
include = [
"kiclearance/*.py",
"tests",
"requirements.txt"
]
[tool.ruff]
exclude = [
".eggs",
".git",
".venv",
"venv"]
line-length = 120
indent-width = 4
target-version = "py310"
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "B", "D", "D417"]
# extend-select = ["D417"] deactivated by default in case of pep257 codestyle.
# see also: https://docs.astral.sh/ruff/rules/undocumented-param/
ignore = ["B008", "D107", "D203", "D212", "D213", "D402", "D413", "D415", "D416", "E722", "E731", "F403", "F405", "F841",]
fixable = ["ALL"]
unfixable = []
# ignore list in docstring according to numpy codestyles for Dxxx.
# http://www.pydocstyle.org/en/5.0.1/error_codes.html#default-conventions
[tool.ruff.lint.pydocstyle]
convention = "pep257"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"