-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
29 lines (25 loc) Β· 795 Bytes
/
Copy path__init__.py
File metadata and controls
29 lines (25 loc) Β· 795 Bytes
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
"""errlib β index, search and validate the DevOps Error Library.
A dependency-light toolkit (only PyYAML) that scans the ``errors/`` tree of
Markdown error documents, builds a search index, and powers a local CLI search
tool. Designed to stay fast across tens of thousands of documents.
"""
from __future__ import annotations
__version__ = "0.1.0"
REQUIRED_FRONTMATTER = ("title", "slug", "technologies", "severity", "tags")
SEVERITIES = ("info", "low", "medium", "high", "critical")
REQUIRED_SECTIONS = (
"Error Message",
"Description",
"Technologies",
"Severity",
"Common Causes",
"Root Cause Analysis",
"Diagnostic Commands",
"Expected Results",
"Resolution",
"Validation",
"Prevention",
"Related Errors",
"References",
"Tags",
)