-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpyproject.toml
More file actions
117 lines (93 loc) · 1.92 KB
/
pyproject.toml
File metadata and controls
117 lines (93 loc) · 1.92 KB
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
[tool.poetry]
name = "fru"
version = "4.1.0"
description = "Read and write binary FRU files"
authors = [
"Kurt McKee <contactme@kurtmckee.org>",
"Ganesh Viswanathan <dev@genotrance.com>",
]
license = "MIT"
readme = "README.rst"
include = [
"CHANGELOG.rst",
]
repository = "https://github.com/genotrance/fru-tool/"
keywords = ["fru", "ipmi"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Customer Service",
"Intended Audience :: Developers",
"Intended Audience :: Manufacturing",
"Natural Language :: English",
"Operating System :: OS Independent",
"Topic :: System :: Hardware",
"Topic :: Utilities",
]
[tool.poetry.dependencies]
python = ">=3.8"
click = "^8.0.0"
tomli = { version = "^2.0.1", python = "<3.11" }
[tool.poetry.scripts]
frutool = 'fru.console:run'
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
# coverage
# --------
[tool.coverage.run]
branch = true
parallel = true
source = [
"fru",
"tests",
]
[tool.coverage.paths]
source = [
"src",
"*/site-packages",
]
[tool.coverage.report]
fail_under = 82
# flake8
# ------
[tool.flake8]
max-line-length = 80
extend-select = ["B950"]
extend-ignore = ["E203", "E501", "E701"]
# mypy
# ----
#
#[tool.mypy]
#packages = "src.fru"
#strict = true
#sqlite_cache = true
# isort
# -----
[tool.isort]
profile = "black"
# pytest
# ------
[tool.pytest.ini_options]
addopts = "--color=yes"
filterwarnings = [
"error",
]
# scriv
# -----
[tool.scriv]
version = "literal: pyproject.toml: tool.poetry.version"
categories = [
"Python support",
"Added",
"Fixed",
"Removed",
"Changed",
"Deprecated",
"Security",
"Documentation",
]
entry_title_template = "{{ version }} - {{ date.strftime('%Y-%m-%d') }}"
format = "rst"
fragment_directory = "changelog.d"
insert_marker = "scriv-insert-here"
main_branches = ["main", "releases"]