Delfino core plugin
Project description
🔌 Delfino Core 🔌
A Delfino plugin with core functionality.
Commands
Command | Description |
---|---|
build-docker | Build and push a docker image. |
coverage-open | Open coverage results in default browser. |
coverage-report | Analyse coverage and generate a term/HTML report. |
dependencies-update | Manages the process of updating dependencies. |
format | Runs black code formatter and isort on source code. |
lint | Run linting on the entire code base. |
lint-pycodestyle | Run PEP8 checking on code. |
lint-pydocstyle | Run docstring linting on source code. |
lint-pylint | Run pylint on code. |
switch-python-version | Switches Python venv to a different Python version. |
test-all | Run all tests, and generate coverage report. |
test-integration | Run integration tests. |
test-unit | Run unit tests. |
typecheck | Run type checking on source code. |
upload-to-pypi | Upload package to a public Pypi repository. |
verify-all | Runs all verification commands. |
Installation
- pip:
pip install delfino-core
- Poetry:
poetry add -D delfino-core
- Pipenv:
pipenv install -d delfino-core
Optional dependencies
Each project may use different sub-set of commands. Therefore, dependencies of all commands are optional and checked only when the command is executed.
Using [all]
installs all the optional dependencies used by all the commands. If you want only a sub-set of those dependencies, there are finer-grained groups available:
- For individual commands (matches the command names):
upload-to-pypi
build-docker
typecheck
format
dependencies-update
- For groups of commands:
test
- for testing and coverage commandslint
- for all the linting commands
- For groups of groups:
verify-all
- same as[typecheck,format,test,lint]
all
- all optional packages
Configuration
Delfino doesn't load any plugins by default. To enable this plugin, add the following config into pyproject.toml
:
[tool.delfino.plugins.delfino-core]
Usage
Run delfino --help
.
Development
To develop against editable delfino
sources:
- Make sure
delfino
sources are next to this plugin:cd .. git clone https://github.com/radeklat/delfino.git
- Install
delfino
as editable package:pip install -e ../delfino
Note that poetry will reset this to the released package when you install/update anything.
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
delfino_core-2.2.0.tar.gz
(17.0 kB
view hashes)
Built Distribution
Close
Hashes for delfino_core-2.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6341e40435a03edd9fb8cb1afc757f60d8849b27842d334b660e4020d5ffd36 |
|
MD5 | f5a251105bab35d5f9435a64968b8f85 |
|
BLAKE2b-256 | 3be4702c68f3a4ae3b0e4bdb44f0343658f727d26fac83e0fb9f53b443f0dde8 |