-
Notifications
You must be signed in to change notification settings - Fork 80
/
pyproject.toml
129 lines (111 loc) · 2.92 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
[build-system]
requires = [
"setuptools >= 59",
"setuptools_scm[toml]>=6.2",
"wheel >= 0.41"
]
build-backend = "setuptools.build_meta"
[project]
name = "odxtools"
description = "Utilities to work with the ODX standard for automotive diagnostics"
license = {text = "MIT"}
authors = [
{name = "Katrin Bauer", email = "katrin.bauer@mbition.io"},
{name = "Andreas Lauser", email = "andreas.lauser@mbition.io"},
{name = "Ayoub Kaanich", email = "kayoub5@live.com"},
]
maintainers = [
{name = "Andreas Lauser", email = "andreas.lauser@mbition.io"},
{name = "Ayoub Kaanich", email = "kayoub5@live.com"},
]
readme = "README.md"
requires-python = ">=3.8"
keywords = ['can', 'can bus', 'DoIP', 'odx', 'pdx', 'obd', 'uds', 'automotive', 'diagnostics']
classifiers = [
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
]
dependencies = [
"bitstruct >= 8.17",
"argparse_addons >= 0.12",
"jinja2 >= 3.1",
"python-can >= 4.2",
"markdownify >= 0.11",
"deprecation >= 2.1",
"packaging",
"rich >= 13.7",
"typing_extensions >= 4.9",
]
dynamic = ["version"]
[project.optional-dependencies]
browse-tool = [
"InquirerPy >= 0.3.4",
]
test = [
"mypy >= 1.5",
"types-tabulate >= 0.9.0.3", # Libary stubs for "tabulate" (mypy)
"ruff >= 0.0.290",
"pytest >= 7.4",
"coverage >= 7.3",
]
examples = [
"can-isotp >= 1.9",
]
all = [
"odxtools[browse-tool,test,examples]"
]
[project.urls]
"Homepage" = "https://github.com/mercedes-benz/odxtools"
"Bug Tracker" = "https://github.com/mercedes-benz/odxtools/issues"
"Repository" = "https://github.com/mercedes-benz/odxtools"
[project.scripts]
odxtools = "odxtools.__init__:_main"
[tool.setuptools]
packages = [ "odxtools" ]
[tool.setuptools_scm]
write_to = "odxtools/version.py"
[tool.mypy]
exclude = [
'build',
]
ignore_missing_imports = true
strict = true
[tool.ruff]
lint.select = [
"E", # pycodestyle Error
"W", # pycodestyle Warning
"F", # pyflakes
"B", # pyflakes-bugbear
"UP", # pyupgrade
"C4", # flake8-comprehensions
]
lint.ignore = [
"E501", # line too long
"F541", # f-string-missing-placeholders
]
exclude = [
"doc",
]
[tool.ruff.lint.isort]
known-first-party = ["odxtools"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.yapf]
based_on_style = "yapf"
column_limit = 100
indent_width = 4
split_before_dict_set_generator = 1
split_before_first_argument = 0
split_penalty_after_opening_bracket=1000
[tool.pytest.ini_options]
filterwarnings = [
"error::odxtools.exceptions.DecodeError",
]