github cjolowicz/cookiecutter-hypermodern-python 2022.6.3

latest release: 2022.6.3.post1
2 years ago

Overview of Changes

Here are the major changes brought by this release:

  • Convert the entire documentation to Markdown, using MyST to support rich Markdown in Sphinx.
  • Switch to isort as the Python import sorter, replacing reorder-python-imports. Enforce a single import per line to minimize merge conflicts.
  • Remove upper version bounds from all dependencies.
  • Restrict Dependabot updates to the lock file, greatly reducing the number of merge conflicts between Dependabot PRs.
  • Enable Dependabot updates for indirect dependencies.
  • Run Typeguard under the latest Python release only, to allow for the use of modern typing syntax.
  • Combine coverage data under the latest Python release. This avoids problems due to changes in the AST between Python versions.
  • Support patching Git hooks installed by recent versions of pre-commit, which use bash instead of Python for the hook script.
  • Add a template variable for the copyright year.
  • Do not run darglint on every commit to mitigate performance issues.

Read on for the full list of changes.

Changes

This section lists changes that affect generated projects.

🪲 Fixes

🚨 Testing

  • Replace reorder-python-imports with isort (#741) @cjolowicz
  • Combine coverage under the latest Python release (#710) @cjolowicz
  • Run Typeguard under the latest Python release only (#764) @staticdev
  • Move darglint to its own manual pre-commit hook (#822) @paw-lu
  • Do not repeat Python versions in @session decorators (#711) @cjolowicz

👷 Continuous Integration

  • Use FORCE_COLOR instead of nox --force-color (#778) @cjolowicz
  • Enable Dependabot updates for indirect dependencies (#747) @cjolowicz
  • Restrict Dependabot updates to lock file to reduce merge conflicts (#746) @cjolowicz

📚 Documentation

📦 Packaging

  • Remove upper version bounds from dependencies (#744, #709) @cjolowicz
  • Add myst-parser to development dependencies (#815) @cjolowicz

⬆️ Dependencies

Dependabot PRs

Changes to the template infrastructure

This section lists changes to the infrastructure of the Cookiecutter template. These changes don't affect generated projects.

🪲 Fixes

  • Fix bogus {{cookiecutter.copyright_year}} replacement in constraints.txt (#1146) @cjolowicz
  • Fix bogus {{cookiecutter.license}} replacement in tests.yml (#1144) @nilsdebruin
  • Fix bogus {{cookiecutter.version}} replacement in poetry.lock (#1153) @cjolowicz

📚 Documentation

⬆️ Dependencies

Dependabot PRs

Don't miss a new cookiecutter-hypermodern-python release

NewReleases is sending notifications on new releases.