-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathpyproject.toml
161 lines (149 loc) · 4.34 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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
[build-system]
build-backend = "flit_core.buildapi"
requires = ["flit_core >=3.2,<4"]
[project]
authors = [
{ name = "Various", email = "t&iconnectivityboardfarm@libertyglobal.com" },
]
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: Telecommunications Industry",
"License :: OSI Approved :: BSD License",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Testing",
"Topic :: Software Development :: Testing :: Acceptance",
"Operating System :: POSIX :: Linux",
"Topic :: Software Development :: Embedded Systems",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Typing :: Typed",
]
dynamic = ['version', 'description']
name = "boardfarm"
license = { file = "LICENSE" }
readme = "README.md"
requires-python = ">=3.6"
dependencies = [
"aenum",
"apscheduler",
"beautifulsoup4",
"cdrouter>=0.5.5",
"debtcollector",
"distro",
"dlipower",
"easysnmp2",
"elasticsearch<8,>=7",
"Faker",
"httpx",
"influxdb",
"jc",
"jsonschema",
"matplotlib",
"mitmproxy==9.0.1",
"nested_lookup",
"netaddr",
"numpy<2.1.0",
"ouimeaux",
"pandas",
"pexpect ; platform_system != 'Windows'",
"pexpect >=999; platform_system == 'Windows'", # Win does not support spawn()
"pluggy>=1.0.0",
"psutil",
"pyasn1==0.6.0",
"pycountry",
"pycryptodome",
"pymongo",
"pyserial",
"pysmi",
"pysnmp==4.4.12",
"pytest", # see tests folder
"pyvirtualdisplay==2.2",
"requests",
"retry",
"selenium>=4.10.0,<=4.26.0",
"tabulate",
"termcolor",
"xmltodict",
"xvfbwrapper",
"zeep",
]
[project.optional-dependencies]
dev = [
"black",
"commitizen >=2.20.0",
"flake8",
"flake8-bugbear==22.1.11",
"flake8-docstrings",
"flake8-rst",
"flake8-rst-docstrings",
"mypy",
"nox",
"pre-commit",
"pylint==3.0.2",
"types-termcolor",
]
doc = ["sphinx"]
test = [
"ftfy",
"pytest",
"pytest-cov",
"pytest-html",
"pytest-mock",
"pytest-randomly",
"pytest-xdist",
]
[project.scripts]
bft = "boardfarm.bft:main"
[project.urls]
Source = "https://github.com/lgirdk/boardfarm"
[tool.commitizen]
bump_message = "Bump version to $new_version"
name = "cz_conventional_commits"
style = [
["qmark", "fg:#ff9d00 bold"],
["question", "bold"],
["answer", "fg:#ff9d00 bold"],
["pointer", "fg:#ff9d00 bold"],
["highlighted", "fg:#ff9d00 bold"],
["selected", "fg:#cc5454"],
["separator", "fg:#cc5454"],
["instruction", ""],
["text", ""],
["disabled", "fg:#858585 italic"],
]
tag_format = "$version"
version = "2025.05.0"
version_files = [
"boardfarm/__init__.py:version",
"pyproject.toml:version",
"pyproject.toml:current",
]
[tool.isort]
profile = "black"
[tool.tbump]
# Uncomment this if your project is hosted on GitHub:
# github_url = "https://github.com/<user or organization>/<project>/"
[tool.tbump.version]
current = "2025.05.0"
# Example of a semver regexp.
# Make sure this matches current_version before
# using tbump
regex = '''
(?P<major>\d+)
\.
(?P<minor>\d+)
\.
(?P<patch>\d+)
'''
[tool.tbump.git]
message_template = "Bump to {new_version}"
tag_template = "{new_version}"
# For each file to patch, there is a [[tool.tbump.file]] config
# section containing the path of the file, relative to the
# pyproject.toml location.
[[tool.tbump.file]]
src = "boardfarm/__init__.py"
[[tool.tbump.file]]
src = "pyproject.toml"