Contribute to the repository by opening a pull request.
Develop code locally by cloning the source code and installing it.
# Clone (download) source code
git clone [email protected]:TomographicImaging/eqt
cd eqt
# Install test dependencies
pip install .[dev]
Before merging a pull request, all tests must pass. These can be run locally from the repository folder
pytest
Adhere to our styling guide by installing pre-commit in your local eqt environment.
pip install pre-commit
pre-commit install
From your local repository folder, run pre-commit on all the files before committing
pre-commit run -a
or run pre-commit on a single file by specifying its file path
pre-commit run --files [path]
The .pre-commit-config.yaml config file indicates the repositories and the hooks which will be applied automatically.
GitHub Actions runs automatically a subset of the unit tests on every commit via test.yml.
Runs pytest
.
Runs automatically after tests (above) succeed.
Builds binary (*.whl
) & source (*.tar.gz
) distributions.
Runs automatically -- when an annotated tag is pushed -- after builds (above) succeed.
Publishes to PyPI.
title
must be Version <number without v-prefix>
(separated by a blank line) and the body
must contain release notes, e.g.:
git tag v1.33.7 -a
Version 1.33.7
<body>
The <body>
should be taken from the changelog (below).
Located in CHANGELOG.md.
The changelog file needs to be updated manually every time a pull request (PR) is submitted.
- Itemise the message with "-".
- Be concise by explaining the overall changes in only a few words.
- Mention the relevant PR in brackets.
- Adds
title
toFormDockWidget
& update tests/examples (#102)