-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpyproject.toml
More file actions
65 lines (56 loc) · 1.75 KB
/
pyproject.toml
File metadata and controls
65 lines (56 loc) · 1.75 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
[project]
name = "pepc"
version = "1.6.26"
description = "A tool for configuring power and performance aspects of a Linux system."
authors = [
{ name = "Artem Bityutskiy", email = "dedekind@gmail.com" }
]
requires-python = ">=3.9"
license = "BSD-3-Clause"
license-files = ["LICENSE.md"]
readme = "README.md"
keywords = ["linux", "power", "performance", "configuration", "C-state", "P-state"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: System :: Hardware",
"Topic :: System :: Operating System Kernels :: Linux",
"Programming Language :: Python :: 3 :: Only",
]
# TODO: remove 'importlib-resources' dependency when switching to Python 3.10+.
# It is there only because of Python 3.9.
dependencies = [
"argcomplete",
"colorama",
"importlib-resources",
"paramiko",
"pyyaml",
]
[tool.setuptools.packages.find]
exclude = ["tests*", "misc*"]
[tool.setuptools.package-data]
pepcdata = ["tpmi/**/*.yml", "man/**/*.1"]
[project.scripts]
pepc = "pepctools._Pepc:main"
[project.urls]
Documentation = "https://github.com/intel/pepc/blob/main/README.md"
Repository = "https://github.com/intel/pepc"
Changelog = "https://github.com/intel/pepc/blob/main/CHANGELOG.md"
[tool.uv]
package = false
[tool.ruff.lint]
# F401 = unused-import, disable because pylint checks for this too, and it is
# more convenient to add exceptions for pylint than for ruff.
ignore = ["F401"]
[tool.pydoclint]
style = 'google'
exclude = '\.git'
allow-init-docstring = true
arg-type-hints-in-docstring = false
check-return-types = false
skip-checking-raises = true
[tool.mypy]
check_untyped_defs = true
[tool.pyright]
# Disable the warning that makes it very hard working with typed dicts.
reportTypedDictNotRequiredAccess = false