Report bugs at https://github.com/data-exp-lab/yt_libyt/issues.
If you are reporting a bug, please include:
- Your operating system name and version.
- Any details about your local setup that might be helpful in troubleshooting.
- Detailed steps to reproduce the bug.
If you are proposing a feature:
- Explain in detail how it would work.
- Keep the scope as narrow as possible, to make it easier to implement.
- Remember that this is a volunteer-driven project, and that contributions are welcome :)
- Fork the
yt_libytrepo on GitHub. - Clone your fork locally:
git clone https://github.com/<your-github-account>/yt_libyt.git- Create a branch for local development:
git checkout -b name-of-your-bugfix-or-featureWe use tox to run:
- Python unit test (
pytest) - Converting old string to f-string (
flynt) - Code formatting (
black) - Sort import order (
isort) - Linting (
flake8)
toxtox -e fstringtox -e formattox -e sort_importtox -e lintWe use pre-commit to check code format and style before committing:
- Converting old string to f-string (
flynt) - Code formatting (
black) - Sort import order (
isort) - Linting (
flake8)
Set up pre-commit for the first time:
pre-commit installCheck every file:
pre-commit run --all-filesCommit your changes and push your branch to GitHub, pre-commit will apply to staged files before committing:
git add .
git commit -m "Your detailed description of your changes."
git push origin name-of-your-bugfix-or-feature