How to contribute changes locally¶
Set up a local development workflow for implementing and validating changes in ezplog.
🔧 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. Run the test suite¶
5. Build the documentation in strict mode¶
✅ Quality gate checklist¶
-
ruff format src testsandruff check src testscomplete without errors. -
ty checkcompletes with expected diagnostics only. -
pytestpasses for 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, tests, and docs checks.