-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (59 loc) · 1.71 KB
/
pyproject.toml
File metadata and controls
73 lines (59 loc) · 1.71 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
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "ptop3"
version = "0.1.3"
description = "TUI process monitor that groups processes by application"
requires-python = ">=3.10"
dependencies = ["psutil>=5.9"]
license = {text = "MIT"}
readme = "README.md"
[project.urls]
Homepage = "https://github.com/spazyCZ/ptop3"
Repository = "https://github.com/spazyCZ/ptop3"
Changelog = "https://github.com/spazyCZ/ptop3/blob/main/CHANGELOG.md"
"Bug Tracker" = "https://github.com/spazyCZ/ptop3/issues"
[project.scripts]
ptop3 = "ptop3.monitor:main"
ptop3-drop-caches = "ptop3.scripts.drop_caches:main"
ptop3-swap-clean = "ptop3.scripts.swap_clean:main"
[project.optional-dependencies]
dev = ["pytest>=7", "pytest-cov", "ruff", "mypy", "bump-my-version"]
[tool.setuptools.packages.find]
where = ["."]
include = ["ptop3*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
addopts = "-v --tb=short"
[tool.coverage.run]
source = ["ptop3"]
[tool.coverage.report]
include = ["ptop3/*"]
show_missing = true
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "UP"]
ignore = ["E501"]
[tool.mypy]
python_version = "3.10"
strict = false
ignore_missing_imports = true
[tool.bumpversion]
current_version = "0.1.3"
commit = true
commit_args = "--no-verify"
tag = true
tag_name = "v{new_version}"
message = "chore: bump version {current_version} → {new_version}"
[[tool.bumpversion.files]]
filename = "pyproject.toml"
search = 'version = "{current_version}"'
replace = 'version = "{new_version}"'
[[tool.bumpversion.files]]
filename = "ptop3/__init__.py"
search = '__version__ = "{current_version}"'
replace = '__version__ = "{new_version}"'