Thank you for considering contributing to the TranCIT project! Your help is highly appreciated and essential for improving this package.
Whether you're reporting bugs, suggesting features, improving documentation, or submitting code β you're welcome!
The main code is organized under:
trancit/Docs are under:
docs/Tests are typically under:
tests/-
Clone the repository:
git clone https://github.com/CMC-lab/TranCIT cd TranCIT -
Create a virtual environment:
python -m venv trancit_env source trancit_env/bin/activate -
Install the package (editable mode) with dev dependencies:
pip install -e ".[dev]" -
Run tests:
pytest
- Use the GitHub Issues section.
- Please provide a clear description and, if possible, steps to reproduce the issue.
- Fork the repo
- Create a feature or bugfix branch:
git checkout -b fix/some-issue - Write tests if necessary
- Run tests and linters locally before pushing
- Open a pull request (PR) against
mainwith a meaningful description
- Follow flake8 for Python code.
- Docstrings use Google-style or NumPy-style (keep it consistent).
- Run
blackorruffto auto-format. - Type annotations are strongly encouraged.
We use pytest for testing. Make sure your contributions include tests and that existing tests pass:
pytestThe documentation lives in the docs/ folder and uses Sphinx.
To build locally:
cd docs
make htmlThis project uses the BSD-2-Clause License. See LICENSE for more details.
Thanks again for helping improve TranCIT! π