-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
84 lines (76 loc) · 1.79 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
[build-system]
requires = ["flit_core >=3.4,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "mcbootflash"
authors = [{name = "Alexander Bessman", email = "[email protected]"}]
dynamic = ["version", "description"]
readme = "README.md"
requires-python = ">=3.9"
license = {file = "LICENSE"}
dependencies = [
"pyserial",
"bincopy >= 20.0.0",
"datastructclass",
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
]
keywords = [
"firmware",
"flashing",
"bootloader",
"serial",
"uart",
"microchip",
"pic24",
"dspic33",
"16-bit",
]
[project.urls]
Home = "https://bessman.github.io/mcbootflash/"
[project.scripts]
mcbootflash = "mcbootflash.__main__:main"
[project.optional-dependencies]
test = [
"pytest",
"coverage",
"pytest-reserial>=0.4.0",
]
doc = [
"mkdocs",
"mkdocs-include-markdown-plugin",
"mkdocstrings[python]",
"mkdocs-material",
]
dev = [
"black",
"isort",
"mypy",
"ruff",
"tox",
]
[tool.isort]
profile = "black"
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"D203", # one-blank-line-before-class
"D213", # multi-line-summary-second-line
"G004", # logging-f-string
"N818", # error-suffix-on-exception-name
"S101", # assert
]
[tool.ruff.lint.per-file-ignores]
"**/{tests,docs}/*" = ["ALL"]
# Do not show user a traceback unless they explicitly ask for it with --debug.
"__main__.py" = ["TRY400"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"