Contributing¶
Thanks for your interest in contributing to Django ERD Generator!
Development Setup¶
-
Fork and clone the repository
-
Install dependencies
-
Set up pre-commit hooks
Development Workflow¶
-
Create a feature branch:
-
Make your changes
-
Run tests:
-
Run linter and formatter:
-
Commit your changes:
-
Push and create a pull request
Code Style¶
- Formatting: ruff (line length: 88)
- Linting: ruff (E, F, W, I, UP, B, C4, SIM)
- Type hints: Preferred but not required
Testing¶
- Write tests for new features
- Maintain test coverage
- Run
pytestbefore submitting PR
Pull Request Guidelines¶
- Clear title and description
- Link related issues
- Update documentation if needed
- Ensure all tests pass
- Add changelog entry
Questions?¶
Open an issue for questions or discussion.