-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.check_deprecated_usage.yaml
More file actions
44 lines (37 loc) · 1.69 KB
/
.check_deprecated_usage.yaml
File metadata and controls
44 lines (37 loc) · 1.69 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
# Configuration for scripts/check_deprecated_usage.py
#
# Controls which usages of deprecated APIs are intentionally allowed
# (e.g., backward-compat re-exports in __init__.py files).
# Mapping of deprecated item name → list of files allowed to use it.
# Each entry is: "deprecated_name": ["file/path.py", ...]
allowed_usages:
# DataNode re-exported from stdlib/nodes for backward compat
DataNode:
- hexdag/stdlib/nodes/__init__.py
# Memory class re-exported from kernel/ports + used in port detection
Memory:
- hexdag/kernel/ports/__init__.py
- hexdag/kernel/ports/detection.py
# hexdag.kernel.ports.memory module — re-export and detection files import from it
hexdag.kernel.ports.memory:
- hexdag/kernel/ports/__init__.py
- hexdag/kernel/ports/detection.py
# Database class re-exported from kernel/ports + used in port detection
Database:
- hexdag/kernel/ports/__init__.py
- hexdag/kernel/ports/detection.py
# hexdag.kernel.ports.database module — re-export, detection, and adapters that
# import non-deprecated types (ColumnSchema, TableSchema, SupportsReadOnly, etc.)
hexdag.kernel.ports.database:
- hexdag/kernel/ports/__init__.py
- hexdag/kernel/ports/detection.py
- hexdag/stdlib/adapters/database/csv/csv_adapter.py
- hexdag/stdlib/adapters/database/pgvector/pgvector_adapter.py
- hexdag/stdlib/adapters/database/sqlalchemy/sqlalchemy_adapter.py
- hexdag/stdlib/adapters/database/sqlite/sqlite_adapter.py
# DatabasePort alias in kernel/ports __init__
DatabasePort:
- hexdag/kernel/ports/__init__.py
# HexDAGLib re-exported from kernel __init__ for backward compat
hexdag.kernel.lib_base:
- hexdag/kernel/__init__.py