-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
53 lines (45 loc) · 921 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
49
50
51
52
53
[project]
name = "fcp"
version = "1.0.0.dev1"
description = "CAN bus manager"
license = { file = "LICENSE" }
readme = "README.md"
url = "https://github.com/joajfreitas/fcp-core"
requires-python = ">=3.8"
dependencies = [
"click>=8.1.3",
"lark>=1.1.5",
"coloredlogs>=15.0.1",
"pyserde>=0.15.0",
"termcolor>=2.4.0",
"beartype>=0.19",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project.scripts]
fcp = "fcp.__main__:main"
[tool.pytest.ini_options]
addopts = ["--import-mode=importlib"]
[tool.ruff.lint]
select = ["D"]
ignore = ["F402", "D105", "D107", "D401", "D404"]
[tool.mypy]
disable_error_code = ["no-redef"]
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py310
[testenv]
extras = test
commands = pytest {posargs}
"""
[project.optional-dependencies]
test = [
"pytest",
"cantools",
"marko",
"docutils",
"pygments",
"hypothesis"
]