mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2026-11-08 02:02:33 +03:00
Remove Copied Over Functions
This commit is contained in:
1 file changed
-12
@@ -10,7 +10,6 @@ import argparse
|
||||
import ast
|
||||
import datetime
|
||||
import pathlib
|
||||
import re
|
||||
import sys
|
||||
|
||||
|
||||
@@ -34,17 +33,6 @@ def find_trace_calls(statement: ast.AST) -> list[ast.Call]:
|
||||
return out
|
||||
|
||||
|
||||
COMMENT_SAME_LINE_RE = re.compile(r"^.*(#.*)$")
|
||||
COMMENT_OWN_LINE_RE = re.compile(r"^\s*?(#.*)$")
|
||||
|
||||
|
||||
def _has_tracedoc(line: str, pattern: re.Pattern) -> bool:
|
||||
match = pattern.match(line)
|
||||
if match:
|
||||
return match.group(1).strip().startswith("# TRACEDOC:")
|
||||
return False
|
||||
|
||||
|
||||
def generate_markdown(all_found_data: list[dict], project_root: pathlib.Path):
|
||||
"""Generate the Available-Traces.md file with fixed-width column formatting."""
|
||||
docs_dir = project_root / "docs"
|
||||
|
||||
Reference in new issue
Block a user