-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
121 lines (109 loc) · 3.39 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
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "gptsum"
version = "0.5.0"
description = "A tool to make disk images using GPT partitions self-verifiable"
authors = [
"Nicolas Trangez <ikke@nicolast.be>",
]
license = "Apache-2.0"
readme = "README.rst"
homepage = "https://github.com/NicolasT/gptsum"
repository = "https://github.com/NicolasT/gptsum.git"
keywords = ["gpt", "diskimage", "checksum"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: Apache Software License",
"Operating System :: MacOS",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: System",
"Topic :: System :: Software Distribution",
"Typing :: Typed",
]
include = [
{ path = "tests/", format = "sdist" },
{ path = "docs/", format = "sdist" },
{ path = "poetry.lock", format = "sdist" },
]
[tool.poetry.urls]
Homepage = "https://github.com/NicolasT/gptsum"
Documentation = "https://nicolast.github.io/gptsum/"
Changelog = "https://github.com/NicolasT/gptsum/releases"
Issues = "https://github.com/NicolasT/gptsum/issues"
"Pull Requests" = "https://github.com/NicolasT/gptsum/pulls"
[tool.poetry.scripts]
gptsum = "gptsum.cli:main"
[tool.poetry.dependencies]
python = "^3.8.17"
[tool.poetry.dev-dependencies]
mypy = "^1.14"
flake8 = "^7.1.1"
flake8-bugbear = "^24.12.12"
flake8-docstrings = "^1.7.0"
flake8-rst-docstrings = "^0.3.0"
pep8-naming = "^0.14.1"
darglint = "^1.8.0"
black = "24.8.0"
flake8-black = "^0.3.1"
safety = "^3.2.14"
Sphinx = "^7.1.2"
furo = "^2024.8.6"
sphinx-argparse = "^0.4.0"
coverage = {version = "^7.6", extras = ["toml"]}
pygments = "^2.19.1"
pytest = "^8.3.4"
typeguard = "^4.4.0"
xdoctest = {version = "^1.2.0", extras = ["colors"]}
flake8-pytest-style = "^2.0.0"
flake8-pytest = "^1.4"
flake8-builtins = "^2.5.0"
flake8-isort = "^6.1.1"
flake8-return = "^1.2.0"
flake8-expression-complexity = "^0.0.11"
pytest-mock = "^3.14.0"
pytest-benchmark = "^4.0.0"
coverage-conditional-plugin = "^0.9.0"
pylint = "^3.2.7"
# Work-around https://github.com/pypi/warehouse/issues/15749
docutils = "!=0.21.post1"
[tool.coverage.paths]
source = ["src", "*/site-packages"]
[tool.coverage.run]
branch = true
source = ["gptsum", "tests"]
plugins = ["coverage_conditional_plugin"]
relative_files = true
[tool.coverage.report]
show_missing = true
fail_under = 100
[tool.coverage.coverage_conditional_plugin.rules]
platform-darwin = "sys_platform == 'darwin'"
platform-win32 = "sys_platform == 'win32'"
py-lt-39 = "sys_version_info < (3, 9)"
py-gte-39 = "sys_version_info >= (3, 9)"
[tool.mypy]
strict = true
pretty = true
show_column_numbers = true
show_error_codes = true
show_error_context = true
[tool.pylint.basic]
good-names = ["fd", "ns"]