Contributing
Contributions to xypattern are welcome! Here’s how you can contribute:
Setting up the development environment
Fork the repository on GitHub
Clone your fork locally:
git clone https://github.com/your-username/xypattern.git cd xypattern
Install the development dependencies:
poetry install
Running tests
Run the tests using pytest:
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
Create a branch for your changes:
git checkout -b feature-or-bugfix-name
Make your changes and commit them:
git commit -m "Description of your changes"
Push your branch to GitHub:
git push origin feature-or-bugfix-name
Submit a pull request through the GitHub website.