-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
99 lines (87 loc) · 1.94 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
[tool.poetry]
name = "netprot"
version = "0.1.2"
description = "A system-indipendent network protocol manipulation and evaluation library."
authors = ["Federico Olivieri <[email protected]>"]
license = "GPL-3.0-or-later"
homepage = "https://github.com/lvrfrc87/netprot"
repository = "https://github.com/lvrfrc87/netprot"
readme = "README.md"
keywords = ["networking", "automation", "network"]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
include = [
"CHANGELOG.md",
"CONTRIBUTING.md",
"LICENSE",
]
[tool.poetry.dependencies]
python = "^3.7"
[tool.poetry.dev-dependencies]
pytest = "*"
requests_mock = "*"
black = "*"
pylint = "*"
pydocstyle = "*"
bandit = "*"
invoke = "*"
toml = "*"
flake8 = "*"
[tool.black]
line-length = 120
target-version = ['py37']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
| settings.py
)
'''
[tool.pylint.basic]
no-docstring-rgx="^(_|test_|Meta$)"
[tool.pylint.messages_control]
disable = """,
use-dict-literal,
use-list-literal,
line-too-long,
bad-continuation,
E5110,
too-many-nested-blocks,
too-many-branches,
"""
[tool.pylint.miscellaneous]
notes = """,
FIXME,
XXX,
"""
[tool.pydocstyle]
convention = "google"
inherit = false
match = "(?!__init__).*\\.py"
match-dir = "(?!tests|migrations|development)[^\\.].*"
add_ignore = "D212"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[tool.pytest.ini_options]
testpaths = [
"tests"
]
addopts = "-vv --doctest-modules"