-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
46 lines (41 loc) · 1.32 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
[tool.poetry]
name = "kidraw"
version = "0.1.0"
description = "Kidraw is a library to programmatically build Kicad schematic and footprint libraries."
authors = ["David Anderson <[email protected]>"]
license = "AGPL-3.0-or-later"
readme = "README.md"
repository = "https://github.com/danderson/kidraw"
keywords = ["electronics", "kicad", "schematic", "footprint", "pcb"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)",
]
[tool.poetry.dependencies]
python = "^3.11"
[tool.poetry.group.dev.dependencies]
pytest = "^8"
ruff = "^0"
mypy = "^1"
pre-commit = "^3"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
lint.select = ["ALL"]
lint.ignore = [
"E501", "D", "ANN101", "ANN401", "RUF012", "S105", "ANN204", "T201",
"T203", "FBT001", "FBT002", "TD002", "TD003", "FIX002",
"COM812", "ISC001",
"PLR0911", # Too many return statements
"G004", # Logging statement uses f-string
"TRY003", "EM101", "EM102", # Exception messages outside call
"CPY001", # Copyright stuff
"PLC0415", # Imports not at top
"FURB113", # Repeated append
]
lint.preview = true
format.preview = true
[tool.ruff.lint.flake8-annotations]
mypy-init-return = true