WeblateOrg / weblate_schemas

Schemas used in Weblate
MIT License
2 stars 3 forks source link

chore(deps): update pre-commit hook fsfe/reuse-tool to v4 #336

Closed renovate[bot] closed 2 months ago

renovate[bot] commented 2 months ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
fsfe/reuse-tool repository major v3.0.2 -> v4.0.2

Note: The pre-commit manager in Renovate is not supported by the pre-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) ### [`v4.0.2`](https://togithub.com/fsfe/reuse-tool/releases/tag/v4.0.2) [Compare Source](https://togithub.com/fsfe/reuse-tool/compare/v4.0.1...v4.0.2) ##### Fixed - Repaired a bug that would cause a crash when running `annotate --merge-copyrights` on a file that does not yet have a year in the copyright statement. This bug was introduced in v4.0.1. ([#​1030](https://togithub.com/fsfe/reuse-tool/issues/1030)) ### [`v4.0.1`](https://togithub.com/fsfe/reuse-tool/releases/tag/v4.0.1) [Compare Source](https://togithub.com/fsfe/reuse-tool/compare/v4.0.0...v4.0.1) ##### Fixed - Make sure that Read the Docs can compile the documentation. This necesitated updating `poetry.lock`. ([#​1028](https://togithub.com/fsfe/reuse-tool/issues/1028)) ### [`v4.0.0`](https://togithub.com/fsfe/reuse-tool/releases/tag/v4.0.0) [Compare Source](https://togithub.com/fsfe/reuse-tool/compare/v3.0.2...v4.0.0) This release of REUSE implements the new [REUSE Specification v3.2](https://reuse.software/spec-3.2). It adds the `REUSE.toml` file format as a replacement for `.reuse/dep5`. The new format is easier 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/dep5` to `REUSE.toml`, you can simply use the `reuse convert-dep5` command. Alongside the `REUSE.toml` feature is a wealth of other improvements. `reuse lint --lines` may be especially interesting for CI workflows, as well as the fact that the amount of `PendingDeprecationWarning`s has been drastically reduced now that the information aggregation behaviour of `.reuse/dep5` is explicitly 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 . Your distribution's packager will need to make them accessible via `man reuse(1)`. Unfortunately, man pages cannot be made accessible via Python's packaging, although the full documentation (including man pages) is included in the sdist. This changeset also contains the changes of v3.1.0a1. ##### Added - Added support for `REUSE.toml`. ([#​863](https://togithub.com/fsfe/reuse-tool/issues/863)) - Added `reuse convert-dep5` to convert `.reuse/dep5` to `REUSE.toml`. ([#​863](https://togithub.com/fsfe/reuse-tool/issues/863)) - Man pages added for all `reuse` commands. Distribution maintainers might wish to distribute the (Sphinx-built) man pages. ([#​975](https://togithub.com/fsfe/reuse-tool/issues/975)) - More file types are recognised: - Assembler (`.asm`) ([#​928](https://togithub.com/fsfe/reuse-tool/issues/928)) - GraphQL (`.graphqls`, `.gqls`) ([#​930](https://togithub.com/fsfe/reuse-tool/issues/930)) - CUDA-C++ (`.cu`, `.cuh`) ([#​938](https://togithub.com/fsfe/reuse-tool/issues/938)) - Various .NET files (`.csproj`, `.fsproj`, `.fsx`, `.props`, `.sln`, `.vbproj`) ([#​940](https://togithub.com/fsfe/reuse-tool/issues/940)) - Cargo (`Cargo.lock`) ([#​937](https://togithub.com/fsfe/reuse-tool/issues/937)) - Clang-Tidy (`.clang-tidy`) ([#​961](https://togithub.com/fsfe/reuse-tool/issues/961)) - Java `.properties` files ([#​968](https://togithub.com/fsfe/reuse-tool/issues/968)) - Apache HTTP server config `.htaccess` files ([#​985](https://togithub.com/fsfe/reuse-tool/issues/985)) - npm `.npmrc` files ([#​985](https://togithub.com/fsfe/reuse-tool/issues/985)) - LaTeX class files (`.cls`) ([#​971](https://togithub.com/fsfe/reuse-tool/issues/971)) - CSON (`.cson`) ([#​1002](https://togithub.com/fsfe/reuse-tool/issues/1002)) - Hjson (`.hjson`) ([#​1002](https://togithub.com/fsfe/reuse-tool/issues/1002)) - JSON5 (`.json5`) ([#​1002](https://togithub.com/fsfe/reuse-tool/issues/1002)) - JSON with Comments (`.jsonc`) ([#​1002](https://togithub.com/fsfe/reuse-tool/issues/1002)) - Tap (`.taprc`) ([#​997](https://togithub.com/fsfe/reuse-tool/issues/997)) - Zsh (`.zshrc`) ([#​997](https://togithub.com/fsfe/reuse-tool/issues/997)) - Perl test (`.t`) ([#​997](https://togithub.com/fsfe/reuse-tool/issues/997)) - BATS test (`.bats`) ([#​997](https://togithub.com/fsfe/reuse-tool/issues/997)) - Octave/Matlab (`.m`) ([#​604](https://togithub.com/fsfe/reuse-tool/issues/604)) - VHDL(`.vhdl`) ([#​564](https://togithub.com/fsfe/reuse-tool/issues/564)) - Earthly files (`Earthfile` and `.earthlyignore`) ([#​1024](https://togithub.com/fsfe/reuse-tool/issues/1024)) - Added comment styles: - `man` for UNIX Man pages (`.man`) ([#​954](https://togithub.com/fsfe/reuse-tool/issues/954)) - Added `--lines` output option for `lint`. ([#​956](https://togithub.com/fsfe/reuse-tool/issues/956)) - Treat `% !TEX` and `% !BIB` as shebangs in TeX and BibTeX files, respectively ([#​971](https://togithub.com/fsfe/reuse-tool/issues/971)) - Support alternate spelling `--skip-unrecognized`. ([#​974](https://togithub.com/fsfe/reuse-tool/issues/974)) - In `annotate`, rename `--copyright-style` to `--copyright-prefix`. The former parameter is still supported. ([#​973](https://togithub.com/fsfe/reuse-tool/issues/973)) - Support alternate spelling `--skip-unrecognized` ([#​974](https://togithub.com/fsfe/reuse-tool/issues/974)) - `cpp` and `cppsingle` style shorthands (see changes). ([#​941](https://togithub.com/fsfe/reuse-tool/issues/941)) ##### Changed - Updated SPDX resources to 3.24.0. ([#​994](https://togithub.com/fsfe/reuse-tool/issues/994)) - Updated REUSE specification version to 3.2. ([#​994](https://togithub.com/fsfe/reuse-tool/issues/994)) - `.s` files now use the Python comment style as per GNU Assembler (gas). ([#​928](https://togithub.com/fsfe/reuse-tool/issues/928)) - Previously, any file that begins with `COPYING` or `LICENSE` was ignored. This has been changed. Now, files like `COPYING_README` are no longer ignored, but `COPYING` and `COPYING.txt` are still ignored (in other words: exact matches, or `COPYING` + a file extension). Idem ditto for `LICENSE`. ([#​886](https://togithub.com/fsfe/reuse-tool/issues/886)) - Dependencies added: - `attrs>=21.1` ([#​863](https://togithub.com/fsfe/reuse-tool/issues/863)) - `tomlkit>=0.8` ([#​863](https://togithub.com/fsfe/reuse-tool/issues/863)) - Reorganised the way that `c`, `css`, and `csingle` styles work. ([#​941](https://togithub.com/fsfe/reuse-tool/issues/941)) - `c` used to support multi-line comments; it now only supports multi-line `/* */` comments. This is identical to the old `css` style. - `cpp` has been added, which supports multi-line `/* */` comments and single-line `//` comments. This is identical to the old `c` style. - `csingle` has been renamed to `cppsingle`, and it supports only single-line `//` comments. ##### Deprecated - `.reuse/dep5` is marked deprecated. `reuse convert-dep5` will help you switch to `REUSE.toml`. ([#​863](https://togithub.com/fsfe/reuse-tool/issues/863)) ##### Removed - The PendingDeprecationWarning for the aggregation of information between DEP5 and the contents of a file has been removed. This behaviour is now explicitly specified in REUSE Specification v3.2. ([#​1017](https://togithub.com/fsfe/reuse-tool/issues/1017), related to [#​779](https://togithub.com/fsfe/reuse-tool/issues/779)) - `reuse init` removed. ([#​863](https://togithub.com/fsfe/reuse-tool/issues/863)) - `csingle` and `css` style shorthands (see changes). ([#​941](https://togithub.com/fsfe/reuse-tool/issues/941)) ##### Fixed - The datetime value for `Created:` was wrongly formatted since 3.0.0. It now returns a correctly formatted ISO 8601 date again. ([#​952](https://togithub.com/fsfe/reuse-tool/issues/952)) - Repaired the behaviour of `reuse download` where being inside of a LICENSES/ directory should not create a deeper LICENSES/LICENSES/ directory. ([#​975](https://togithub.com/fsfe/reuse-tool/issues/975)) - Support annotating a file that contains only a shebang. ([#​965](https://togithub.com/fsfe/reuse-tool/issues/965)) - Add `CONTRIBUTING.md` to the sdist. ([#​987](https://togithub.com/fsfe/reuse-tool/issues/987)) - In `reuse spdx`, fixed the output to be more compliant by capitalising `SPDXRef-Document DESCRIBES` appropriately. ([#​1013](https://togithub.com/fsfe/reuse-tool/issues/1013))

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.