-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
56 lines (48 loc) · 1.24 KB
/
Copy pathpyproject.toml
File metadata and controls
56 lines (48 loc) · 1.24 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
[project]
name = "isapi-cli"
version = "0.1.0"
description = "CLI tipada (typer + Pydantic 2 + httpx Digest) para câmeras Hikvision via ISAPI."
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.12"
authors = [{ name = "Otavio Abreu", email = "abreu0x.dev@gmail.com" }]
keywords = ["hikvision", "isapi", "cli", "typer", "ip-camera"]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"typer>=0.15",
"httpx>=0.28",
]
[project.scripts]
isapi = "isapi_cli.cli:main"
[project.optional-dependencies]
dev = [
"pytest>=9.0.3",
"pytest-cov>=6.0",
"ruff>=0.9",
"mypy>=1.14",
"respx>=0.22",
"bandit>=1.8",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/isapi_cli"]
[tool.ruff]
line-length = 100
src = ["src", "tests"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]
[tool.mypy]
strict = true
files = ["src", "tests"]
[tool.pytest.ini_options]
addopts = "--cov=isapi_cli --cov-report=term-missing --cov-fail-under=80"
testpaths = ["tests"]
pythonpath = ["src"]