Remove src/rules.json path from library data loading

- Update load_library_data to remove the src/rules.json path from possible rules.json locations
- Simplify rules.json path resolution to focus on package root and current directory
- Align with previous changes in rules.json handling and copying
This commit is contained in:
sanjeed5
2025-03-04 00:26:09 +05:30
parent 190bce3db9
commit c40762e909
2 changed files with 0 additions and 965 deletions
-1
View File
@@ -509,7 +509,6 @@ def load_library_data(rules_path: Optional[str] = None) -> Dict[str, Any]:
else:
# Search for rules.json in priority order
possible_paths = [
Path(__file__).parent / "rules.json", # src/rules.json
Path(__file__).parent.parent / "rules.json", # package root rules.json
Path.cwd() / "rules.json" # current directory rules.json
]