v0.10.0
CI/CD improvements, resolution of hydrating generic factories from configs, a new PerturbImageFactory (LinSpacePerturbImageFactory), and documentation updates.
Updates / New Features
CI/CD
Optimized to not run anything but
publishwhentag.Created a shared
python-versionjob forpythonversion matrices.Updated scanning to properly report the vulnerabilities.
Updated scanning to properly scan used packages
Added
from_configtoPerturbImageFactoryto solve issues hydrating a factory from a json file.Added caching of packages to pipeline.
Changed check release notes to only fetch last commit from main.
Added examples to
blackscan.Added
jupyternotebook extra toblack.Modified all code to be compliant with all
ruffandblackchecks besides missing docstrings.
Other
Added
git pre-hookto assist in linting.Refactored package into
src/nrtkinstead ofnrtk.Add
prefer-active-python=truetopoetry.tomlto use systemPython.Updated git lfs to properly track large files in any directory.
Added LinSpacePerturbImageFactory for alternative method of generating pertubations
Dependencies
Added new linting
blackandruff.
Documentation
Updated documents to reflect new refactor.
Added Jitter OTF perturber code doc.
Added a section that shows visual examples of perturbations based on pyBSM OTF parameters, starting with the Jitter OTF perturber, along with corresponding code snippets to generate these perturbations.
Added a section to the README about using the pre-commit hooks