chore(deps): update pre-commit hook fsfe/reuse-tool to v5 #353
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v4.0.3
->v5.0.2
Note: The
pre-commit
manager in Renovate is not supported by thepre-commit
maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.Release Notes
fsfe/reuse-tool (fsfe/reuse-tool)
v5.0.2
Compare Source
Fixed
v5.0.1
Compare Source
Fixed
v5.0.0
Compare Source
This is a big release for a small change set. With this release, the tool
becomes compatible with
REUSE Specification 3.3, which is a very
subtly improved release of the much bigger version 3.2.
Added
.cabal
,cabal.project
) (#1089, #1090).envrc
(#1061).flake.lock
(#1061).j2
) (#1036)poetry.lock
) (#1037)lint-file
subcommand to enable running lint on specific files. (#1055)click
. (#1084)spdx-string
,spdx-string-c
, andspdx-string-symbol
. (#979)Changed
Bumped REUSE Specification version to
version 3.3. (#1069)
Switched from
argparse
toclick
for handling the CLI. The CLI should stillhandle the same, with identical options and arguments, but some stuff changed
under the hood. (#1084)
Find here a small list of differences:
-h
is no longer shorthand for--help
.--version
now outputs "reuse, version X.Y.Z", followed by a licensingblurb on different paragraphs.
annotate
's--skip-unrecognised
and--style
, anddownload
's--output
and--all
.as
annotate
,lint-file
, ordownload
, now also allow zero arguments.This will do nothing, but can be useful in scripting.
annotate
andlint-file
now also take directories as arguments. This willdo nothing, but can be useful in scripting.
Changes to comment styles:
.s
files (GNU as) now use the C comment style. (#1034).ld
files (GNU ld) now use the C comment style. (#1034)REUSE.toml
no longer needs a licensing header. (#1042).gitkeep
is no longer ignored, because this is not defined in thespecification. However, if
.gitkeep
is a 0-size file, it will remain ignored(because 0-size files are ignored). (#1043)
If
REUSE.toml
is ignored by VCS, the linter no longer parses this file.(#1047)
SPDX license and exception list updated to v3.25.0.
More
LICENSE
andCOPYING
-like files are ignored. Now, such files suffixedby
-anything
are also ignored, typically something likeLICENSE-MIT
. Fileswith the UK spelling
LICENCE
are also ignored. (#1041)Removed
Fixed
REUSE.toml
, fixed the globbing of a single asterisk succeeded by a slash(e.g.
directory-*/foo.py
). The glob previously did nothing. (#1078)attrs
to>=21.3
. Older versions donot import correctly. (#1044)
VCS. (#1047)
lint
has been slightly improved, getting rid of anerrant newline. (#1091)
reuse annotate --merge-copyrights
now works more reliably with copyrightprefixes. This still needs some work, though. (#979)
REUSE.toml
files and one ofthose files could not be parsed, the wrong
REUSE.toml
was signalled as beingunparseable. This is now fixed. (#1047)
REUSE.toml
did not correctly apply its annotations tofiles which have an accompanying
.license
file. (#1058)reuse download SPDX-IDENTIFIER+
, downloadSPDX-IDENTIFIER
instead. This also works for
reuse download --all
. (#1098)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.