Update pre-commit hook fsfe/reuse-tool to v5#14
Closed
renovate[bot] wants to merge 1 commit intomainfrom
Closed
Conversation
1c964ed to
a5e0911
Compare
1885893 to
427f8fb
Compare
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
427f8fb to
5ab4b3c
Compare
Contributor
Author
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
v2.1.0→v5.1.1Note: The
pre-commitmanager in Renovate is not supported by thepre-commitmaintainers 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.1.1Compare Source
Fixed
(#1191)
was introduced in v5.0.0. Strings that were already translated before the
release of v5.0.0 are now translated again. (#1216)
v5.1.0Compare Source
Added
.dtd(#1141).gperf(#1131).erland.hrl, leex and yecc Erlang parser generators.xrland.yrl(#1117).exand.exs) (#1117).gleam) (#1117).lean,.olean, and.ilean) (#1188)--jsonflag to thesupported-licensessubcommand. (#1187)Changed
Cargo.lockto uncommentable. (#1169)reuse annotatepreviously would insert a newline after a header, which isnot always a desirable behavior. Instead of inserting a newline,
reuse annotatewill now respect the existing whitespace of the file wherethe header is being placed. When the license header is being added to a file
for the first time, a space will be added after the license, but subsequent
updates to the header will leave the whitespace alone. (#1136)
spdx-license-list-datato v3.27.0.v5.0.2Compare Source
Fixed
v5.0.1Compare Source
Fixed
v5.0.0Compare 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-filesubcommand 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
argparsetoclickfor 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:
-his no longer shorthand for--help.--versionnow outputs "reuse, version X.Y.Z", followed by a licensingblurb on different paragraphs.
annotate's--skip-unrecognisedand--style, anddownload's--outputand--all.as
annotate,lint-file, ordownload, now also allow zero arguments.This will do nothing, but can be useful in scripting.
annotateandlint-filenow also take directories as arguments. This willdo nothing, but can be useful in scripting.
Changes to comment styles:
.sfiles (GNU as) now use the C comment style. (#1034).ldfiles (GNU ld) now use the C comment style. (#1034)REUSE.tomlno longer needs a licensing header. (#1042).gitkeepis no longer ignored, because this is not defined in thespecification. However, if
.gitkeepis a 0-size file, it will remain ignored(because 0-size files are ignored). (#1043)
If
REUSE.tomlis ignored by VCS, the linter no longer parses this file.(#1047)
SPDX license and exception list updated to v3.25.0.
More
LICENSEandCOPYING-like files are ignored. Now, such files suffixedby
-anythingare also ignored, typically something likeLICENSE-MIT. Fileswith the UK spelling
LICENCEare 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)attrsto>=21.3. Older versions donot import correctly. (#1044)
VCS. (#1047)
linthas been slightly improved, getting rid of anerrant newline. (#1091)
reuse annotate --merge-copyrightsnow works more reliably with copyrightprefixes. This still needs some work, though. (#979)
REUSE.tomlfiles and one ofthose files could not be parsed, the wrong
REUSE.tomlwas signalled as beingunparseable. This is now fixed. (#1047)
REUSE.tomldid not correctly apply its annotations tofiles which have an accompanying
.licensefile. (#1058)reuse download SPDX-IDENTIFIER+, downloadSPDX-IDENTIFIERinstead. This also works for
reuse download --all. (#1098)v4.0.3Compare Source
Fixed
attrsto>=21.3. Older versions donot import correctly. (#1044)
v4.0.2Compare Source
Fixed
annotate --merge-copyrightson a file that does not yet have a year in thecopyright statement. This bug was introduced in v4.0.1. (#1030)
v4.0.1Compare Source
Fixed
updating
poetry.lock. (#1028)v4.0.0Compare Source
This release of REUSE implements the new
REUSE Specification v3.2. It adds the
REUSE.tomlfile format as a replacement for.reuse/dep5. The new format iseasier to write and parse, is better at disambiguating certain corner cases, and
is more flexible for customisation and future additions.
To convert your existing
.reuse/dep5toREUSE.toml, you can simply use thereuse convert-dep5command.Alongside the
REUSE.tomlfeature is a wealth of other improvements.reuse lint --linesmay be especially interesting for CI workflows, as well asthe fact that the amount of
PendingDeprecationWarnings has been drasticallyreduced now that the information aggregation behaviour of
.reuse/dep5isexplicitly defined in the specification.
The tool has also been made easier to use with the addition of man pages. The
man pages can be found online at https://reuse.readthedocs.io/en/stable/man/.
Your distribution's packager will need to make them accessible via
man reuse(1). Unfortunately, man pages cannot be made accessible via Python'spackaging, although the full documentation (including man pages) is included in
the sdist.
This changeset also contains the changes of v3.1.0a1.
Added
REUSE.toml. (#863)reuse convert-dep5to convert.reuse/dep5toREUSE.toml. (#863)reusecommands. Distribution maintainers might wishto distribute the (Sphinx-built) man pages. (#975)
.asm) (#928).graphqls,.gqls) (#930).cu,.cuh) (#938).csproj,.fsproj,.fsx,.props,.sln,.vbproj) (#940)Cargo.lock) (#937).clang-tidy) (#961).propertiesfiles (#968).htaccessfiles (#985).npmrcfiles (#985).cls) (#971).cson) (#1002).hjson) (#1002).json5) (#1002).jsonc) (#1002).taprc) (#997).zshrc) (#997).t) (#997).bats) (#997).m) (#604).vhdl) (#564)Earthfileand.earthlyignore) (#1024)manfor UNIX Man pages (.man) (#954)--linesoutput option forlint. (#956)% !TEXand% !BIBas shebangs in TeX and BibTeX files, respectively(#971)
--skip-unrecognized. (#974)annotate, rename--copyright-styleto--copyright-prefix. The formerparameter is still supported. (#973)
--skip-unrecognized(#974)cppandcppsinglestyle shorthands (see changes). (#941)Changed
.sfiles now use the Python comment style as per GNU Assembler (gas). (#928)COPYINGorLICENSEwas ignored. Thishas been changed. Now, files like
COPYING_READMEare no longer ignored, butCOPYINGandCOPYING.txtare still ignored (in other words: exact matches,or
COPYING+ a file extension). Idem ditto forLICENSE. (#886)attrs>=21.1(#863)tomlkit>=0.8(#863)c,css, andcsinglestyles work. (#941)cused to support multi-line comments; it now only supports multi-line/* */comments. This is identical to the oldcssstyle.cpphas been added, which supports multi-line/* */comments andsingle-line
//comments. This is identical to the oldcstyle.csinglehas been renamed tocppsingle, and it supports only single-line//comments.Deprecated
.reuse/dep5is marked deprecated.reuse convert-dep5will help you switchto
REUSE.toml. (#863)Removed
and the contents of a file has been removed. This behaviour is now explicitly
specified in REUSE Specification v3.2. (#1017, related to #779)
reuse initremoved. (#863)csingleandcssstyle shorthands (see changes). (#941)Fixed
Created:was wrongly formatted since 3.0.0. It nowreturns a correctly formatted ISO 8601 date again. (#952)
reuse downloadwhere being inside of a LICENSES/directory should not create a deeper LICENSES/LICENSES/ directory. (#975)
CONTRIBUTING.mdto the sdist. (#987)reuse spdx, fixed the output to be more compliant by capitalisingSPDXRef-Document DESCRIBESappropriately. (#1013)v3.0.2Compare Source
Fixed
annotate's '--stylenow works again when used for a file with anunrecognised extension. (#909)
v3.0.1Compare Source
Fixed
.qrcand.uinow have the HTML comment style instead of being markeduncommentable. (#896)
files are scanned for REUSE information again. The contents of binary files
are not. (#896)
v3.0.0Compare Source
This release contains a lot of small improvements and changes without anything
big per se. Rather, it is made in advance of a release which will contain a
single feature: REUSE.toml, a
replacement for
.reuse/dep5..reuse/dep5will still be supported as adeprecated feature for some time.
That future 3.1 release will have some alpha testing in advance.
Added
downloadandinit. (#697).tcl) (#871).jl) (#815).f90) (#836).bzl) (#870).ld) (#862).s) (#862).empty) (#862).shellcheckrc) (#862)pylintrc) (#862).sld,.sls,.sps) (#875)csinglefor Zig (.zig) and Hare (.ha) (#889)(#858)
annotateon a file with an unrecognised file path, the toolcurrently exits early. To automatically create a .license file for
unrecognised files,
--fallback-dot-licensehas been added. (#823, #851,#853, #859; this took a while to get right.)
.sldirectory as used by Sapling SCM.(#867)
Changed
a directory with a
.gitfile as a submodule, it now uses the git command todetect submodules. This helps detect (quoted from Git man page)
"[repositories] that were cloned independently and later added as a submodule
or old setups", which "have the submodule's git directory inside the submodule
instead of embedded into the superproject's git directory". (#687)
REUSE information. (#825)
--force-dot-licenseand--skip-unrecognisedare now mutually exclusive onannotate. (#852)-extraDocker images. Theopenssh-clientpackage is now in the main image. (#849)
devDocker images. (#849)-debianDocker image is now based off debian:12-slim. It used to bebased on the python:slim image, which used debian:slim under the hood. (#849)
Removed
--explicit-license. (#851)addheader. (#851)sphinx-autodoc-typehintsfor documentation. (#772)Fixed
annotatewhere--single-lineand--multi-linewould notcorrectly raise an error with an incompatible comment style. (#853)
recognised as the prefix to a Lisp comment, and ";;;" is used when inserting
comment headers, as per
https://www.gnu.org/software/emacs/manual/html_node/elisp/Comment-Tips.html.
(#874)
Configuration
📅 Schedule: Branch creation - Monday through Friday ( * * * * 1-5 ) (UTC), 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.