Contributing
Contributions are welcome! Every little bit helps, and credit will always be given.
Types of Contributions
Report Bugs
Report bugs at GitHub Issues.
When reporting a bug, please include:
- Your operating system and version
- Python and Django versions
- Database backend (PostGIS version, etc.)
- Detailed steps to reproduce the bug
Fix Bugs
Look through GitHub issues for bugs. Anything tagged with “bug” is open to whoever wants to implement it.
Implement Features
Look through GitHub issues for features. Anything tagged with “enhancement” is open to whoever wants to implement it.
Write Documentation
django-airports-xtd can always use more documentation, whether as part of the official docs, in docstrings, or even blog posts and articles.
Submit Feedback
The best way to send feedback is to file an issue.
If you’re proposing a feature:
- Explain in detail how it would work
- Keep the scope as narrow as possible
- Remember that this is a volunteer-driven project
Getting Started
- Fork the repo on GitHub
- Clone your fork locally:
git clone git@github.com:your_name/django-airports-xtd.git - Set up development environment:
cd django-airports-xtd pip install -e ".[dev]" - Create a branch for your changes:
git checkout -b name-of-your-bugfix-or-feature - Make your changes and run tests:
just test-quick just lint - Commit your changes:
git add . git commit -m "Description of your changes" - Push and submit a pull request:
git push origin name-of-your-bugfix-or-feature
Pull Request Guidelines
Before submitting a pull request:
- The pull request should include tests
- If adding functionality, update the documentation
- Ensure the test suite passes across the supported Python/Django matrix
- Follow the existing code style (enforced by ruff)
Running Tests
# Quick test
just test-quick
# Full matrix
just test-all
# Specific combination
just test 312 51