Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/RELEASE_NOTES.template.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@

### Cookiecutter template

All upgrading should be done via the migration script or regenerating the templates.

```bash
curl -sSL https://raw.githubusercontent.com/frequenz-floss/frequenz-repo-config-python/v0.12/cookiecutter/migrate.py | python3
```

But you might still need to adapt your code:

<!-- Here upgrade steps for cookiecutter specifically -->

## New Features
Expand Down
2 changes: 1 addition & 1 deletion cookiecutter/migrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def add_default_pytest_options() -> None:
pyproject_toml_content = pyproject_toml.read_text(encoding="utf-8")
marker = "[tool.pytest.ini_options]\n"
new_options = (
"-W=all Werror -Wdefault::DeprecationWarning "
"-W=all -Werror -Wdefault::DeprecationWarning "
"-Wdefault::PendingDeprecationWarning -vv"
)

Expand Down