Skip to content
Compare
Choose a tag to compare
@frgfm frgfm released this 05 Jul 20:55
· 4 commits to main since this release
689de76

This minor release improves the remediation message and speeds up the action.

Highlights

Better remediation 🔈

When any header was invalid, we were showing you one of the accepted headers. Let's say you created a file in 2020, your organization is named Pyronear and you picked the Apache 2 license. Now we're in 2024, you would have received this message:

Your header should look like:

# Copyright (C) 2023-2024, Pyronear.

# This program is licensed under the Apache License 2.0.

this is not correctly updated to:

Your header should look like:

# Copyright (C) <FILE_CREATION_YEAR>-2024, Pyronear.

# This program is licensed under the Apache License 2.0.

Python 3.11 ⚡

We upgrade the python version from 3.8 to 3.11 for the action's docker which should save you some CI minutes!

What's Changed

New Features 🚀

  • style(ruff): switched from flake8, isort, bandit & black to ruff by @frgfm in #18

Improvements

  • fix(src): update the suggestion when headers are invalid by @frgfm in #20
  • perf(docker): bump python from 3.8 to 3.11 by @frgfm in #21
  • docs(readme): update the message example by @frgfm in #22

Full Changelog: v0.4...v0.5.0