How to contribute changes locally¶
Set up a local development workflow for implementing and validating changes in EzCompiler.
🔧 Prerequisites¶
- Python 3.11+
- Git
- A local clone of the repository
📝 Steps¶
1. Create your environment and install dependencies¶
2. Apply formatting and linting checks¶
3. Run type checking¶
4. Verify layer dependency contracts¶
5. Run the test suite¶
6. Build the documentation in strict mode¶
✅ Quality gate checklist¶
-
ruff formatandruff checkcomplete without errors. -
ty checkcompletes with expected diagnostics only. -
lint-importsreports no contract violations. -
pytestpasses for all impacted modules. -
mkdocs build --strictsucceeds with no warnings. - Any changed docs remain copy-paste runnable.
✅ Result¶
Your local environment is ready for safe contributions with formatting, typing, architecture contract validation, tests, and documentation checks all passing.