|
| 1 | +# About the `xcube-resampling` project |
| 2 | + |
| 3 | +## Changelog |
| 4 | + |
| 5 | +You can find the complete `xcube-resampling` changelog |
| 6 | +[here](https://github.com/xcube-dev/xcube-resampling/blob/main/CHANGES.md). |
| 7 | + |
| 8 | +## Reporting |
| 9 | + |
| 10 | +If you have suggestions, ideas, feature requests, or if you have identified |
| 11 | +a malfunction or error, then please |
| 12 | +[post an issue](https://github.com/xcube-dev/xcube-resampling/issues). |
| 13 | + |
| 14 | +## Contributions |
| 15 | + |
| 16 | +The `xcube-resampling` project welcomes contributions of any form |
| 17 | +as long as you respect our |
| 18 | +[code of conduct](https://github.com/xcube-dev/xcube-resampling/blob/main/CODE_OF_CONDUCT.md) |
| 19 | +and follow our |
| 20 | +[contribution guide](https://github.com/xcube-dev/xcube-resampling/blob/main/CONTRIBUTING.md). |
| 21 | + |
| 22 | +If you'd like to submit code or documentation changes, we ask you to provide a |
| 23 | +pull request (PR) |
| 24 | +[here](https://github.com/xcube-dev/xcube-resampling/pulls). |
| 25 | +For code and configuration changes, your PR must be linked to a |
| 26 | +corresponding issue. |
| 27 | + |
| 28 | +## Development |
| 29 | + |
| 30 | +To install the `xcube-resampling` development environment into an existing Python |
| 31 | +environment, do |
| 32 | + |
| 33 | +```bash |
| 34 | +pip install .[dev,doc] |
| 35 | +``` |
| 36 | + |
| 37 | +or create a new environment using `conda` or `mamba` |
| 38 | + |
| 39 | +```bash |
| 40 | +mamba env create |
| 41 | +``` |
| 42 | + |
| 43 | +### Testing and Coverage |
| 44 | + |
| 45 | +`xcube-resampling` uses [pytest](https://docs.pytest.org/) for unit-level testing |
| 46 | +and code coverage analysis. |
| 47 | + |
| 48 | +```bash |
| 49 | +pytest tests/ --cov=xcube_resampling --cov-report html |
| 50 | +``` |
| 51 | + |
| 52 | +### Code Style |
| 53 | + |
| 54 | +The `xcube-resampling` source code is formatted and quality-controlled |
| 55 | +using [ruff](https://docs.astral.sh/ruff/): |
| 56 | + |
| 57 | +```bash |
| 58 | +ruff format |
| 59 | +ruff check |
| 60 | +``` |
| 61 | + |
| 62 | +### Documentation |
| 63 | + |
| 64 | +The `xcube-resampling` documentation is built using the |
| 65 | +[mkdocs](https://www.mkdocs.org/) tool. |
| 66 | + |
| 67 | +With repository root as current working directory: |
| 68 | + |
| 69 | +```bash |
| 70 | +pip install .[doc] |
| 71 | + |
| 72 | +mkdocs build |
| 73 | +mkdocs serve |
| 74 | +mkdocs gh-deploy |
| 75 | +``` |
| 76 | + |
| 77 | +## License |
| 78 | + |
| 79 | +`xcube-resampling` is open source made available under the terms and conditions of the |
| 80 | +[MIT license](https://opensource.org/license/mit). |
0 commit comments