Contributing¶
astropy-xarray is developed on github.
Linters / Autoformatters¶
In order to keep code consistent, we use
Black for standardized code formatting
blackdoc for standardized code formatting in documentation
Flake8 for general code quality
isort for standardized order in imports. See also flake8-isort.
Release process¶
the release happens from
mainso make sure it is up-to-date:git pull origin main
look at
CHANGELOG.mdand make sure it is complete and with references to issues and pull requestsopen and merge a pull request with these changes
make sure the CI on main pass
check that the documentation build on readthedocs completed successfully
Fill in the release date and commit the release:
git commit -am "Release v0.X.Y"
Tag the release and push to main:
git tag -a v0.X.Y -m "v0.X.Y" git push origin --tags
Draft a release for the new tag on github. A CI will pick that up, build the project and push to PyPI. Be careful, this can’t be undone.
Make sure readthedocs builds both
stableand the new tagAdd a new section to
CHANGELOG.mdand push directly to main