-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path__init__.py
More file actions
45 lines (39 loc) · 926 Bytes
/
__init__.py
File metadata and controls
45 lines (39 loc) · 926 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
"""ArchUnitPython - Architecture testing library for Python projects."""
__version__ = "1.1.1"
# Files API
# Common
from archunitpython.common import (
CheckOptions,
EmptyTestViolation,
TechnicalError,
UserError,
Violation,
)
from archunitpython.common.extraction import clear_graph_cache, extract_graph
from archunitpython.files import files, project_files
# Metrics API
from archunitpython.metrics import metrics
# Slices API
from archunitpython.slices import project_slices
# Testing
from archunitpython.testing import assert_passes, format_violations
__all__ = [
# Files
"project_files",
"files",
# Slices
"project_slices",
# Metrics
"metrics",
# Testing
"assert_passes",
"format_violations",
# Common
"Violation",
"EmptyTestViolation",
"CheckOptions",
"TechnicalError",
"UserError",
"extract_graph",
"clear_graph_cache",
]