pyproject.toml 828 Bytes
Newer Older
one's avatar
one committed
1
[build-system]
one's avatar
one committed
2
3
requires = ["hatchling"]
build-backend = "hatchling.build"
one's avatar
one committed
4
5
6
7
8
9
10

[project]
name = "hytop"
dynamic = ["version"]
description = "hytop toolkit"
readme = "README.md"
requires-python = ">=3.10"
one's avatar
one committed
11
dependencies = ["rich>=13", "typer>=0.12"]
one's avatar
one committed
12
13
14

[project.scripts]
hytop = "hytop.main:main"
one's avatar
one committed
15
hytop-bump = "hytop._bump:main"
one's avatar
one committed
16

one's avatar
one committed
17
18
[dependency-groups]
dev = ["pytest>=8", "ruff>=0.15"]
one's avatar
one committed
19

one's avatar
one committed
20
21
[tool.hatch.version]
path = "src/hytop/__init__.py"
one's avatar
one committed
22

one's avatar
one committed
23
24
[tool.hatch.build.targets.wheel]
packages = ["src/hytop"]
one's avatar
one committed
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44

[tool.pytest.ini_options]
testpaths = ["tests"]

[tool.ruff]
target-version = "py310"
line-length = 100
src = ["src", "tests"]

[tool.ruff.lint]
select = [
    "F",   # pyflakes
    "E",
    "W",   # pycodestyle
    "I",   # isort
    "UP",  # pyupgrade
    "B",   # flake8-bugbear
    "SIM", # flake8-simplify
    "RUF", # ruff-specific
]