Option C Tools
Loading...
Searching...
No Matches
skeleton_exporter.py File Reference

Go to the source code of this file.

Namespaces

namespace  skeleton_exporter

Functions

str skeleton_exporter._strip_docstring_section (str docstring, str section_name)
str skeleton_exporter._format_decorators (ast.AST node, str indent="")
str skeleton_exporter._format_function (ast.FunctionDef|ast.AsyncFunctionDef node, str indent="")
str skeleton_exporter._format_class (ast.ClassDef node, str indent="", *, bool no_diagnostics=False)
str skeleton_exporter.extract_skeleton (str text, str filepath, *, bool no_diagnostics=False)
str skeleton_exporter._skeleton_for_non_python (Path filepath)
tuple skeleton_exporter.write_skeleton_file_for_dir (Path folder, Path output_path, Path root, dict cfg, *, bool no_diagnostics=False)
None skeleton_exporter.clean_skeleton_dirs (Path root, bool dry_run=False)
None skeleton_exporter.run_skeleton_exporter (Path root, list[str] args, bool json_mode=False)

Variables

tuple skeleton_exporter._HEADER_TEXT
str skeleton_exporter._SEPARATOR_FILE = "##### File name {num:02d}: {path}\n"
str skeleton_exporter._SEPARATOR_SUBDIR = "####### Subdirectory name {num:02d}: {dirname}\n"
str skeleton_exporter._ROOT_HEADER = "####### Root directory: .\n\n"