Major changesΒΆ

This repo is a fork of hypermodern python cookiecutter and the major changes compared to the hypermodern python cookiecutter are described on this page.

  • Use cruft instead of cookiecutter to create instances of the template. Cruft supports updating instances when the template is updated.

  • Adopt template for use in Statistics Norway:

    • Template variables updated to support github_organization and copyright_owner.

    • Replace all references to cjolowicz-repos with ssb-pypitemplate.

  • Replace use of Read the Docs with GitHub Pages. One site less to register to.

  • Add SonarCloud as a code quality analysis tool, including code coverage.

  • Remove use of CodeCov. One site less to register to and covered by SonarCloud.

  • Support running pytest directly from the command line, without using nox.

  • Replace flake8 and several other tools with ruff for linting.

  • Add library function example. The original template only had a command line tool example.

  • Document generation works out of the box, even without nox. Use make html in the docs directory.

  • Fix warnings in GitHub Actions.