A project for libraries and automated tools that manage and manipulate conda recipe files.
This project started out as a recipe parser library in Anaconda's percy project.
make install
make environment
conda activate conda-recipe-manager
make dev
conda activate conda-recipe-manager
The dev
recipe will configure a conda
environment named conda-recipe-manager
with
development tools installed.
pre-commit
is automatically installed and configured for you to run a number
of automated checks on each commit.
NOTE: As of writing, only a handful of files are checked by the linter and
pre-commit
. ANY NEW FILES should be added to these checks.
The provided Makefile
also provides a handful of convenience recipes for
running all or part of the pre-commit
automations:
make test
: Runs all the unit testsmake test-cov
: Reports the current test coverage percentage and indicates which lines are currently untested.make lint
: Runs ourpylint
configuration, based on Google's Python standards.make format
: Automatically formats codemake analyze
: Runs the static analyzer,mypy
.make pre-commit
: Runs all thepre-commit
checks
- Update
CHANGELOG.md
- Update the version number in
pyproject.toml
- Ensure
environment.yaml
is up to date with the latest dependencies - Create a new release on GitHub with a version tag.
- Manage the conda-forge feedstock, as per this doc