Core utilities for Virtool.
Project description
virtool-core
Core utilities for Virtool and associated packages.
Contributing
Commits
All commits must follow the Conventional Commits specification.
These standardized commit messages are used to automatically publish releases using semantic-release
after commits are merged to main
from successful PRs.
Example
feat: add API support for assigning labels to existing samples
Descriptive bodies and footers are required where necessary to describe the impact of the commit. Use bullets where appropriate.
Additional Requirements
- Write in the imperative. For example, "fix bug", not "fixed bug" or "fixes bug".
- Don't refer to issues or code reviews. For example, don't write something like this: "make style changes requested in review". Instead, "update styles to improve accessibility".
- Commits are not your personal journal. For example, don't write something like this: "got server running again" or "oops. fixed my code smell".
From Tim Pope: A Note About Git Commit Messages
Tests
-
Install Tox
tox
is used to run the tests in a fresh virtual environment with all of the test dependencies. To install it use;pip install tox tox-poetry
-
Run Tests
tox
Any arguments given to tox after a --
token will be supplied to pytest:
tox -- --log-cli-level=DEBUG
Documentation
For docstrings, use the Sphinx docstring format.
Build the documentation with:
cd sphinx && make html
The rendered HTML files are found under sphinx/build/html
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file virtool_core-13.0.0.tar.gz
.
File metadata
- Download URL: virtool_core-13.0.0.tar.gz
- Upload date:
- Size: 21.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.9.17 Linux/6.5.0-1021-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19cf7f7c6b5cc7757158a5685dbed816fb04d08bf9b8c113806fb8187cdeeff5 |
|
MD5 | f9460b3adb3a21924af43c606dff0230 |
|
BLAKE2b-256 | 7747a6fca2f4aa084df6b97bec3578143ab6f4e5dffb353edcda214814d37936 |
File details
Details for the file virtool_core-13.0.0-py3-none-any.whl
.
File metadata
- Download URL: virtool_core-13.0.0-py3-none-any.whl
- Upload date:
- Size: 31.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.9.17 Linux/6.5.0-1021-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d41e93ea981b8b5770857f60ca973405becb836a70ef7dd197e6cb33c839d4a |
|
MD5 | 8170a9c4cf3b7651fca2600a73e52c85 |
|
BLAKE2b-256 | cd03151e948b435e09a127733ec1720eb7fcd3ef206cbf50edcfb23c0f5823c2 |