============ Contributing ============ Contributions to xypattern are welcome! Here's how you can contribute: Setting up the development environment -------------------------------------- 1. Fork the repository on GitHub 2. Clone your fork locally: .. code-block:: bash git clone https://github.com/your-username/xypattern.git cd xypattern 3. Install the development dependencies: .. code-block:: bash poetry install Running tests ------------- Run the tests using pytest: .. code-block:: bash poetry run pytest Code style ---------- Please follow the existing code style. We recommend using tools like: - black for code formatting - isort for import sorting - flake8 for linting Submitting changes ------------------ 1. Create a branch for your changes: .. code-block:: bash git checkout -b feature-or-bugfix-name 2. Make your changes and commit them: .. code-block:: bash git commit -m "Description of your changes" 3. Push your branch to GitHub: .. code-block:: bash git push origin feature-or-bugfix-name 4. Submit a pull request through the GitHub website.