Project structure of: Wytamma/write-the
pyproject.toml
Set up Hatch, manage dependencies and environment.README.md
Automated Python doc and test gen with roadmap.calculate.py
Calculate class: Multiply, Add methods.multiply.py
Multiplies inputs and returns result.multiply_docstring.py
Multiply two integers, returns product.
test_cli_main.py
CLI app test using Pytest, mocks, and exit codes.test_cst_docstring_adder.py
Test: DocstringAdher functionality and formatting.test_cst_docstring_remover.py
Tests for DocstringRemover class.test_cst_function_and_class_collector.py
Tests FunctionAndClassCollector class for function and class identificationtest_cst_node_extractor.py
Tests correct NodeExtractor function for AST trees.test_cst_node_remover.py
Test NodeRemover's tree node removal functionality.test_cst_utils.py
Test docstring handling functions with defined nodes.test_utils.py
Testinglist_python_files
with empty and populated directories.
__about__.py
Python package versioned at 0.10.1__main__.py
Execute "write-the" CLI with name.__init__.py
Imports 'app' from 'main' module in same package.main.py
CLI app for AI-driven code refactoring with parallel task execution.tasks.py
Asynchronously execute tasks with error handling and progress management.
__init__.py
Imports functions from various modules.__init__.py
Imports converters from same directory.converters.py
Reads, converts, and trims formatted text.prompts.py
Converts Python to TypeScript code.
__init__.py
Imports function "write_mkdocs" from local module.mkdocs.py
Create MkDocs project from Python files with GitHub integrationtemplates.py
MkDocs template, CI/CD pipeline with GitHub Actions
__init__.py
Import write_the_tests from tests module.prompts.py
Generate pytest tests from code and filepath.tests.py
Formats, tests, code with optional GPT-4.
__init__.py
Imports for code reusedocstring_adder.py
Adds or updates docstrings in Python AST.docstring_remover.py
Removes docstrings from FunctionDef and ClassDef nodes.function_and_class_collector.py
Extracts Python functions and classes for CST traversalnode_batcher.py
CST tree node batching Python scriptnode_extractor.py
Extract Python AST nodes with NodeExtractor class.node_remover.py
Removes ClassDef nodes from CST tree via visitor pattern.utils.py
Extracts docstrings, removes simple string expressions.
llm.py
LLM Chain initializer with prompt template and temperatureutils.py
Python file utilities: list, load, parse.