-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
104 lines (90 loc) · 2.81 KB
/
Copy pathpyproject.toml
File metadata and controls
104 lines (90 loc) · 2.81 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
102
103
104
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "devops-ai-toolkit"
version = "0.1.0"
description = "AI-powered, read-only DevOps troubleshooting engine for logs, YAML, Terraform, Kubernetes, OpenStack and more — CLI, SDK and REST API on one shared analysis engine."
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.12"
authors = [{ name = "DevOps AI Toolkit", email = "hello@devopsaitoolkit.com" }]
keywords = [
"devops", "ai", "sre", "troubleshooting", "incident-response",
"kubernetes", "terraform", "docker", "openstack", "observability",
"platform-engineering", "infrastructure-as-code", "log-analysis",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.12",
"Topic :: System :: Systems Administration",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
dependencies = [
"pydantic>=2.7",
"pyyaml>=6.0",
"typer>=0.12",
"rich>=13.7",
"jinja2>=3.1",
"requests>=2.32",
]
[project.optional-dependencies]
api = ["fastapi>=0.111", "uvicorn[standard]>=0.30"]
dev = [
"pytest>=8.2",
"pytest-cov>=5.0",
"ruff>=0.5",
"mypy>=1.10",
"pre-commit>=3.7",
"httpx>=0.27",
"types-pyyaml>=6.0",
"types-requests>=2.32",
]
all = ["devops-ai-toolkit[api,dev]"]
[project.scripts]
devops-ai = "devops_ai_toolkit.cli.app:main"
[project.urls]
Homepage = "https://devopsaitoolkit.com"
Documentation = "https://github.com/devopsaitoolkit/devops-ai-toolkit/tree/main/docs"
Repository = "https://github.com/devopsaitoolkit/devops-ai-toolkit"
Issues = "https://github.com/devopsaitoolkit/devops-ai-toolkit/issues"
Blog = "https://devopsaitoolkit.com/blog"
[tool.hatch.build.targets.wheel]
packages = ["src/devops_ai_toolkit"]
[tool.ruff]
line-length = 100
target-version = "py312"
src = ["src", "tests"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "C4", "SIM", "RUF", "N", "D"]
ignore = ["D203", "D213", "D401", "B008", "D105"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["D", "S"]
"examples/*" = ["D"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.mypy]
python_version = "3.12"
strict = true
plugins = ["pydantic.mypy"]
disallow_untyped_decorators = false
warn_return_any = false
[[tool.mypy.overrides]]
module = ["tests.*", "examples.*"]
disallow_untyped_defs = false
[tool.pytest.ini_options]
minversion = "8.0"
addopts = "-ra -q --strict-markers"
testpaths = ["tests"]
markers = ["integration: end-to-end tests across interfaces"]
[tool.coverage.run]
source = ["devops_ai_toolkit"]
branch = true
[tool.coverage.report]
show_missing = true
skip_covered = true