Thank you for your interest in contributing to Python Editor!
- Fork the repository
- Clone your fork:
git clone https://github.com/YOUR_USERNAME/Python-Editor.git - Create a virtual environment:
python -m venv venv - Activate it:
.\venv\Scripts\activate(Windows) orsource venv/bin/activate(Unix) - Install dependencies:
pip install -e .
This project uses:
- Ruff for linting and formatting
- Mypy for type checking
- Pytest for testing
Run quality checks:
ruff check .
ruff format --check .
mypy .
pytest tests/- Follow existing code style (English comments, 100 char line length)
- Use
t(key, **kwargs)for all UI text (internationalization) - All new features should include tests
- Update documentation as needed
- Use clear, descriptive commit messages
- Reference issue numbers when applicable
- Create a new branch for your feature/fix:
git checkout -b feature/my-feature - Make your changes
- Run quality checks locally
- Submit a pull request with a clear description
modules/
├── Uui/ # UI framework
├── highlighter/ # Syntax highlighting
├── checker/ # Code checking
├── runner/ # Code execution
├── plugins/ # Plugin system
├── settings/ # Configuration
└── i18n/ # Internationalization
Feel free to open an issue for any questions about contributing.