v0.6.0

Various improvements to the CI/CD, documentation, security, and a new option for interpolating atmospheric values.

Updates / New Features

Features

  • Added option for using interpolation when using scenario.atm and niirs

Linting

  • Added py.typed to src/pybsm

  • Added a few ignore_missing_imports = True to mypy config.

CI/CD

  • Optimized to not run anything but publish when tag.

  • Created a shared python-version job for python version matrices.

  • Updated scanning to properly report the vulnerabilities.

  • Updated scanning to properly scan used packages

  • Added caching of packages to pipeline.

  • Changed check release notes to only fetch last commit from main.

  • Added examples to black scan.

  • Added jupyter notebook extra to black.

  • Renamed linting job to flake8.

  • Renamed typing job to mypy.

  • Swapped out pipeline to use a shared pipeline.

Documentation

  • Added a section to the README about using the pre-commit hooks

Fixes

  • Updated poetry.lock file to remove a development environment vulnerability.

  • Modified security scanning to not use latest but instead the stable version.

  • Removed examples from mypy to prevent failure if there are no .py files.