-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
101 lines (88 loc) · 2.28 KB
/
pyproject.toml
File metadata and controls
101 lines (88 loc) · 2.28 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
[tool.poetry]
name = "bas_set_cpu_affinity"
version = "0.5.0"
description = "A tool for managing CPU affinity for processes, allowing specific core assignments for main and worker processes."
authors = ["sergerdn <64213648+sergerdn@users.noreply.github.com>"]
readme = "README.md"
packages = [{include = "bas_set_cpu_affinity"}]
license = "MIT"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft :: Windows",
"Topic :: System :: Systems Administration",
]
[tool.poetry.dependencies]
python = ">=3.10,<3.14"
psutil = "7.0.0"
pyinstaller = "6.13.0"
click = "8.2.1"
pywin32 = "310"
[tool.poetry.scripts]
set-cpu-affinity = "bas_set_cpu_affinity.cli:main"
[tool.poetry.group.dev.dependencies]
black = "25.1.0"
mypy = "1.15.0"
flake8 = "7.2.0"
pylint = "3.3.7"
pylint-pydantic = "0.3.5"
docformatter = "1.7.7"
docconvert = "2.2.0"
types-psutil = "5.9.5.20240106"
types-pywin32 = "310.0.0.20250516"
commitizen = "3.20.0"
[tool.poetry.group.test.dependencies]
pytest = "8.3.5"
pytest-cov = "4.1.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 120
target-version = ["py310"]
include = '\.pyi?$'
[tool.isort]
profile = "black"
line_length = 120
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
disallow_incomplete_defs = false
[tool.pylint.messages_control]
disable = [
"missing-docstring",
"invalid-name",
"too-few-public-methods",
"too-many-arguments",
"too-many-instance-attributes",
"too-many-locals",
"too-many-statements",
"too-many-branches",
"too-many-return-statements",
"too-many-public-methods",
"too-many-lines",
"too-many-ancestors",
"duplicate-code",
"broad-exception-caught",
"c-extension-no-member",
]
[tool.pylint.format]
max-line-length = 120
[tool.docformatter]
recursive = true
wrap-summaries = 120
wrap-descriptions = 120
blank = true
[tool.commitizen]
name = "cz_conventional_commits"
version = "0.5.0"
tag_format = "v$version"
version_files = [
"pyproject.toml:version",
"bas_set_cpu_affinity/__init__.py:__version__"
]
update_changelog_on_bump = true
changelog_file = "CHANGELOG.md"
changelog_incremental = true