WIP: I HATE PYTHON

This commit is contained in:
2026-03-05 13:55:40 -05:00
parent 107608cd76
commit 5e69617f88
43 changed files with 1854 additions and 1671 deletions

View File

@@ -35,8 +35,8 @@ from typing import Optional, Callable, Any, cast
import os
import ast
import subprocess
import summarize
import outline_tool
from src import summarize
from src import outline_tool
import urllib.request
import urllib.parse
from html.parser import HTMLParser
@@ -254,7 +254,7 @@ def py_get_skeleton(path: str) -> str:
if not p.is_file() or p.suffix != ".py":
return f"ERROR: not a python file: {path}"
try:
from file_cache import ASTParser
from src.file_cache import ASTParser
code = p.read_text(encoding="utf-8")
parser = ASTParser("python")
return parser.get_skeleton(code)