xref: /dpdk/dts/pyproject.toml (revision 6597fa4a30add6e0790f0e25833c3e073d76a877)
1# SPDX-License-Identifier: BSD-3-Clause
2# Copyright(c) 2022 University of New Hampshire
3# Copyright(c) 2023 PANTHEON.tech s.r.o.
4
5[tool.poetry]
6package-mode = false
7name = "dts"
8version = "0.1.0"
9description = "DPDK Test Suite."
10license = "BSD-3-Clause"
11authors = [
12    "Owen Hilyard <ohilyard@iol.unh.edu>",
13    "Juraj Linkeš <juraj.linkes@pantheon.tech>",
14    "Jeremy Spewock <jspewock@iol.unh.edu>"
15]
16maintainers = [
17    "Juraj Linkeš <juraj.linkes@pantheon.tech>"
18]
19documentation = "https://doc.dpdk.org/guides/tools/dts.html"
20
21[tool.poetry.dependencies]
22python = "^3.10"
23PyYAML = "^6.0"
24types-PyYAML = "^6.0.8"
25fabric = "^2.7.1"
26scapy = "^2.5.0"
27pydocstyle = "6.1.1"
28typing-extensions = "^4.11.0"
29aenum = "^3.1.15"
30pydantic = "^2.9.2"
31
32[tool.poetry.group.dev.dependencies]
33mypy = "^1.10.0"
34black = "^22.6.0"
35isort = "^5.10.1"
36pylama = "^8.4.1"
37pyflakes = "^2.5.0"
38toml = "^0.10.2"
39
40[tool.poetry.group.docs]
41optional = true
42
43[tool.poetry.group.docs.dependencies]
44sphinx = "<=7"
45sphinx-rtd-theme = ">=1.2.2"
46pyelftools = "^0.31"
47autodoc-pydantic = "^2.2.0"
48
49[build-system]
50requires = ["poetry-core>=1.0.0"]
51build-backend = "poetry.core.masonry.api"
52
53[tool.pylama]
54linters = "mccabe,pycodestyle,pydocstyle,pyflakes"
55format = "pylint"
56max_line_length = 100
57
58[tool.pylama.linter.pycodestyle]
59ignore = "E203,W503"
60
61[tool.pylama.linter.pydocstyle]
62convention = "google"
63
64[tool.mypy]
65python_version = "3.10"
66enable_error_code = ["ignore-without-code"]
67show_error_codes = true
68warn_unused_ignores = true
69
70[tool.isort]
71profile = "black"
72
73[tool.black]
74target-version = ['py310']
75include = '\.pyi?$'
76line-length = 100
77