Thank you for your interest in contributing to CleanScript! 🎉
We welcome bug reports, feature requests, improvements, and documentation contributions.
-
Fork this repository on GitHub.
-
Clone your fork locally:
git clone https://github.com/your-username/CleanScript.git cd CleanScript -
Install development dependencies:
pip install -e ".[dev,ai]"
Follow the naming convention: type/short-description
Examples:
git checkout -b feat/ai-docstrings
git checkout -b fix/remove-unused-importsKeep functions small and readable. Add docstrings and type hints where possible.
Make sure everything passes:
pytestEnsure the codebase stays consistent:
black .
isort .Follow the conventional commit style:
git add .
git commit -m "feat(doc): add AI-powered docstring generation"
git push origin feat/doc-improvementsThen open a Pull Request from your fork.
- Follow PEP 8 style guide.
- Use type hints (
def func(x: int) -> str:). - Keep functions < 25 lines if possible.
- Add or update tests for new features.
- Include or update docstrings.
- Use Black and isort for formatting.
type(scope): short description
Optional detailed explanation.
feat– new featurefix– bug fixdocs– documentation changesrefactor– code restructuringtest– tests onlychore– build/dependencies/tools
Examples:
feat(ai): generate AI-based function summaries
fix(format): handle multiline import removal
docs(README): add installation instructions
- Open an issue with a detailed description.
- Use the GitHub Discussions.
- We’re happy to help you contribute!
Once added to your project, commit them:
git add README.md CONTRIBUTING.md
git commit -m "Add detailed README and CONTRIBUTING guide"
git push origin main