Project structure of: Wytamma/write-the
pyproject.tomlSet up Hatch, manage dependencies and environment.README.mdAutomated Python doc and test gen with roadmap.calculate.pyCalculate class: Multiply, Add methods.multiply.pyMultiplies inputs and returns result.multiply_docstring.pyMultiply two integers, returns product.
test_cli_main.pyCLI app test using Pytest, mocks, and exit codes.test_cst_docstring_adder.pyTest: DocstringAdher functionality and formatting.test_cst_docstring_remover.pyTests for DocstringRemover class.test_cst_function_and_class_collector.pyTests FunctionAndClassCollector class for function and class identificationtest_cst_node_extractor.pyTests correct NodeExtractor function for AST trees.test_cst_node_remover.pyTest NodeRemover's tree node removal functionality.test_cst_utils.pyTest docstring handling functions with defined nodes.test_utils.pyTestinglist_python_fileswith empty and populated directories.
__about__.pyPython package versioned at 0.10.1__main__.pyExecute "write-the" CLI with name.__init__.pyImports 'app' from 'main' module in same package.main.pyCLI app for AI-driven code refactoring with parallel task execution.tasks.pyAsynchronously execute tasks with error handling and progress management.
__init__.pyImports functions from various modules.__init__.pyImports converters from same directory.converters.pyReads, converts, and trims formatted text.prompts.pyConverts Python to TypeScript code.
__init__.pyImports function "write_mkdocs" from local module.mkdocs.pyCreate MkDocs project from Python files with GitHub integrationtemplates.pyMkDocs template, CI/CD pipeline with GitHub Actions
__init__.pyImport write_the_tests from tests module.prompts.pyGenerate pytest tests from code and filepath.tests.pyFormats, tests, code with optional GPT-4.
__init__.pyImports for code reusedocstring_adder.pyAdds or updates docstrings in Python AST.docstring_remover.pyRemoves docstrings from FunctionDef and ClassDef nodes.function_and_class_collector.pyExtracts Python functions and classes for CST traversalnode_batcher.pyCST tree node batching Python scriptnode_extractor.pyExtract Python AST nodes with NodeExtractor class.node_remover.pyRemoves ClassDef nodes from CST tree via visitor pattern.utils.pyExtracts docstrings, removes simple string expressions.
llm.pyLLM Chain initializer with prompt template and temperatureutils.pyPython file utilities: list, load, parse.