conda create -n kde-learn python=3.9.12
conda activate kde-learn
pip install -e .
black {source_file_or_directory}
flake8 {source_file_or_directory}
isort {source_file_or_directory}
They are also executed as a pre-commit hooks. See more in .pre-commit-config.yaml
.
Useful links:
Basic pytest usage:
pytest tests/
with coverage
pytest tests/ --cov=kdelearn/ --cov-report term-missing
Useful links:
Docstrings inspired on scikit-learn.
cd docs/
make clean
make html
- Log in with GitHub credentials
- Import a project
- Build the project
jupyter nbconvert --to pdf --no-input example_notebook.ipynb