-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
69 lines (60 loc) · 1.97 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
[build-system]
requires = ["setuptools>=61.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "ocptv-pci_lmt"
version = "1.3.1"
description = "PCI Lane Margining Tool"
readme = "README.md"
authors = [
{ name = "OCP Test & Validation", email = "[email protected]" },
]
license = { file = "LICENSE" }
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Topic :: System :: Hardware",
]
keywords = ["ocp", "ocptv", "pci", "pcie", "lmt"]
dependencies = []
requires-python = ">=3.8"
[project.optional-dependencies]
dev = ["black", "bumpver", "isort", "pylint", "mypy", "build", "twine"]
[project.urls]
"Homepage" = "https://github.com/opencomputeproject/ocp-diag-pci_lmt"
"Bug reports" = "https://github.com/opencomputeproject/ocp-diag-pci_lmt/issues"
"Source" = "https://github.com/opencomputeproject/ocp-diag-pci_lmt"
[project.scripts]
pci_lmt = "pci_lmt_bin.main:main"
# Increment MAJOR version when you make incompatible API changes
# Increment MINOR version when you add functionality in a backward compatible manner
# Increment PATCH version when you make backward compatible bug fixes
[tool.bumpver]
current_version = "1.3.1"
version_pattern = "MAJOR.MINOR.PATCH"
commit_message = "bump version {old_version} -> {new_version}"
commit = true
tag = false
push = false
[tool.bumpver.file_patterns]
"pyproject.toml" = ['^current_version = "{version}"', '^version = "{version}"']
"src/pci_lmt/__init__.py" = ['^__version__ = "{version}"']
[tool.black]
line-length = 120
[tool.pylint]
max-line-length = 120
max-args = 8
min-public-methods = 1
max-public-methods = 25
init-hook = 'import sys; sys.path.append("src")'
disable = [
# @mimir-d: ideally these should be removed
"missing-module-docstring",
"missing-class-docstring",
"missing-function-docstring",
"logging-fstring-interpolation",
]
good-names = ["fd", "e", "id"]
[tool.isort]
profile = "black"