-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
76 lines (64 loc) · 1.69 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
[project]
name = "tycmd-wrapper"
description = "A python wrapper for tycmd"
authors = [
{name = "Florian Rau", email = "bimac@users.noreply.github.com"},
]
requires-python = ">=3.10"
readme = "README.md"
license = {text = "MIT"}
keywords = ["tycmd", "teensy", "firmware"]
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/int-brain-lab/tycmd-wrapper/"
Documentation = "https://int-brain-lab.github.io/tycmd-wrapper/"
Repository = "https://github.com/int-brain-lab/tycmd-wrapper.git"
Issues = "https://github.com/int-brain-lab/tycmd-wrapper/issues"
Changelog = "https://github.com/int-brain-lab/tycmd-wrapper/blob/main/CHANGELOG.md"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm.version]
source = "file"
path = "tycmd.py"
[tool.pdm.build]
includes = ["tycmd.py", "py.typed"]
source-includes = ["bin/**/tycmd*", "tests", "docs", "*.md"]
excludes = [".gitignore", "docs/build"]
run-setuptools = false
is-purelib = false
[tool.pdm.dev-dependencies]
dev = [
"pdm-backend>=2.3.1",
"tycmd-wrapper[lint, test, doc]",
]
lint = [
"mypy>=1.10.1",
"ruff>=0.5.1",
]
test = [
"pytest>=8.2.2",
"pytest-cov>=5.0.0",
]
doc = [
"sphinx>=7.3.7",
"sphinx-autobuild>=2024.4.16",
"sphinx-rtd-theme>=2.0.0",
"myst-parser>=3.0.1",
]
[tool.ruff]
include = ["pyproject.toml", "tycmd.py", "tests/*.py"]
[tool.ruff.format]
quote-style = "single"
[tool.ruff.lint]
extend-select = ["D"]
[tool.ruff.lint.per-file-ignores]
"tests/*.py" = ["D"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.mypy]
files = ["tycmd.py"]
[tool.pytest.ini_options]
addopts = "--cov=tycmd --cov-report=html --cov-report=xml"
minversion = "6.0"
testpaths = [ "tests" ]