Developer Guide
Thank you for considering contributing to importscope.
Small contributions
For a small fix, you can usually open a pull request directly.
Larger contributions
For a larger change, start from the Join us page and open a short discussion first.
Development environment
importscope uses uv for local environments.
git clone https://github.com/saezlab/importscope.git
cd importscope
uv sync --group dev --group tests
Run commands through uv run:
Code quality
The main local tools are:
- Ruff for linting and formatting
- pre-commit for repository hooks
To install hooks:
Testing
Use the test dependency group and run pytest through uv:
Please add or update tests for behavior changes.
Pull requests
For non-trivial changes:
- reference an issue or discussion
- keep the PR focused
- make sure tests and docs still build
If you are contributing through a fork: