-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
48 lines (40 loc) · 933 Bytes
/
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
[project]
name = "tus-card-reader"
version = "0.1.0"
dependencies = [
"nfcpy~=1.0.4",
"rich~=13.4.2",
"requests~=2.31.0",
"types-requests~=2.31.0.10",
"playsound==1.2.2",
"types-playsound~=1.3.1.3",
"tzdata==2023.3",
]
requires-python = ">= 3.11"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.black]
line-length = 120
[tool.ruff]
line-length = 120
select = ["ALL"]
ignore = ["EXE", "T20", "E501", "D203", "D213"]
[tool.ruff.pydocstyle]
convention = "google"
[tool.mypy]
strict = true
[tool.rye]
managed = true
dev-dependencies = [
"black~=23.3.0",
"ruff~=0.0.287",
"mypy~=1.3.0",
"pytest~=7.3.2",
]
[tool.rye.scripts]
format = { chain = ["black src", "ruff check --fix src"] }
lint = { chain = ["black --check src", "ruff check src", "mypy src"] }
test = { chain = ["python -m pytest tests"] }
[tool.hatch.metadata]
allow-direct-references = true