summaryrefslogtreecommitdiff
path: root/dts/pyproject.toml
blob: a81e46fc07820bd652488fe301f5847e19b3e63d (plain)
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
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2022 University of New Hampshire
# Copyright(c) 2023 PANTHEON.tech s.r.o.

[tool.poetry]
name = "dts"
version = "0.1.0"
description = "DPDK Test Suite."
license = "BSD-3-Clause"
authors = [
    "Owen Hilyard <ohilyard@iol.unh.edu>",
    "Juraj Linkeš <juraj.linkes@pantheon.tech>",
    "Jeremy Spewock <jspewock@iol.unh.edu>"
]
maintainers = [
    "Lijuan Tu <lijuan.tu@intel.com>",
    "Juraj Linkeš <juraj.linkes@pantheon.tech>"
]
documentation = "https://doc.dpdk.org/guides/tools/dts.html"

[tool.poetry.dependencies]
python = "^3.10"
warlock = "^2.0.1"
PyYAML = "^6.0"
types-PyYAML = "^6.0.8"
fabric = "^2.7.1"
scapy = "^2.5.0"
pydocstyle = "6.1.1"

[tool.poetry.group.dev.dependencies]
mypy = "^0.961"
black = "^22.6.0"
isort = "^5.10.1"
pylama = "^8.4.1"
pyflakes = "^2.5.0"
toml = "^0.10.2"

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

[tool.pylama]
linters = "mccabe,pycodestyle,pydocstyle,pyflakes"
format = "pylint"
max_line_length = 100

[tool.pylama.linter.pycodestyle]
ignore = "E203,W503"

[tool.pylama.linter.pydocstyle]
convention = "google"

[tool.mypy]
python_version = "3.10"
enable_error_code = ["ignore-without-code"]
show_error_codes = true
warn_unused_ignores = true

[tool.isort]
profile = "black"

[tool.black]
target-version = ['py310']
include = '\.pyi?$'
line-length = 100