WeblateOrg / weblate_schemas

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

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

Closed renovate[bot] closed 9 months ago

renovate[bot] commented 9 months ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
fsfe/reuse-tool repository major v2.1.0 -> v3.0.0

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) ### [`v3.0.0`](https://togithub.com/fsfe/reuse-tool/releases/tag/v3.0.0) [Compare Source](https://togithub.com/fsfe/reuse-tool/compare/v2.1.0...v3.0.0) #### 3.0.0 - 2024-01-17 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](https://togithub.com/fsfe/reuse-tool/issues/779), a replacement for `.reuse/dep5`. `.reuse/dep5` will still be supported as a deprecated feature for some time. That future 3.1 release will have some alpha testing in advance. ##### Added - Implement handling LicenseRef in `download` and `init`. ([#​697](https://togithub.com/fsfe/reuse-tool/issues/697)) - Declared support for Python 3.12. ([#​846](https://togithub.com/fsfe/reuse-tool/issues/846)) - More file types are recognised: - TCL (`.tcl`) ([#​871](https://togithub.com/fsfe/reuse-tool/issues/871)) - Julia (`.jl`) ([#​815](https://togithub.com/fsfe/reuse-tool/issues/815)) - Modern Fortran (`.f90`) ([#​836](https://togithub.com/fsfe/reuse-tool/issues/836)) - Bazel (`.bzl`) ([#​870](https://togithub.com/fsfe/reuse-tool/issues/870)) - GNU Linker script (`.ld`) ([#​862](https://togithub.com/fsfe/reuse-tool/issues/862)) - Assembly code (`.s`) ([#​862](https://togithub.com/fsfe/reuse-tool/issues/862)) - Empty placeholders (`.empty`) ([#​862](https://togithub.com/fsfe/reuse-tool/issues/862)) - ShellCheck configuration (`.shellcheckrc`) ([#​862](https://togithub.com/fsfe/reuse-tool/issues/862)) - Pylint in-project configuration (`pylintrc`) ([#​862](https://togithub.com/fsfe/reuse-tool/issues/862)) - Lisp schemes (`.sld`, `.sls`, `.sps`) ([#​875](https://togithub.com/fsfe/reuse-tool/issues/875)) - Added comment styles: - `csingle` for Zig (`.zig`) and Hare (`.ha`) ([#​889](https://togithub.com/fsfe/reuse-tool/issues/889)) - Display recommendations for steps to fix found issues during a lint. ([#​698](https://togithub.com/fsfe/reuse-tool/issues/698)) - Add support for Pijul VCS. Pijul support is not added to the Docker image. ([#​858](https://togithub.com/fsfe/reuse-tool/issues/858)) - When running `annotate` on a file with an unrecognised file path, the tool currently exits early. To automatically create a .license file for unrecognised files, `--fallback-dot-license` has been added. ([#​823](https://togithub.com/fsfe/reuse-tool/issues/823), [#​851](https://togithub.com/fsfe/reuse-tool/issues/851), [#​853](https://togithub.com/fsfe/reuse-tool/issues/853), [#​859](https://togithub.com/fsfe/reuse-tool/issues/859); this took a while to get right.) - Ignore `.sl` directory as used by [Sapling SCM](https://sapling-scm.com/). ([#​867](https://togithub.com/fsfe/reuse-tool/issues/867)) ##### Changed - Alpine Docker image now uses 3.18 as base. ([#​846](https://togithub.com/fsfe/reuse-tool/issues/846)) - The Git submodule detection was made less naïve. Where previously it detected a directory with a `.git` file as a submodule, it now uses the git command to detect 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](https://togithub.com/fsfe/reuse-tool/issues/687)) - No longer scan binary or uncommentable files for their contents in search of REUSE information. ([#​825](https://togithub.com/fsfe/reuse-tool/issues/825)) - `--force-dot-license` and `--skip-unrecognised` are now mutually exclusive on `annotate`. ([#​852](https://togithub.com/fsfe/reuse-tool/issues/852)) - No longer create and publish `-extra` Docker images. The `openssh-client` package is now in the main image. ([#​849](https://togithub.com/fsfe/reuse-tool/issues/849)) - No longer create and publish `dev` Docker images. ([#​849](https://togithub.com/fsfe/reuse-tool/issues/849)) - The `-debian` Docker image is now based off debian:12-slim. It used to be based on the python:slim image, which used debian:slim under the hood. ([#​849](https://togithub.com/fsfe/reuse-tool/issues/849)) ##### Removed - Removed deprecated `--explicit-license`. ([#​851](https://togithub.com/fsfe/reuse-tool/issues/851)) - Removed deprecated `addheader`. ([#​851](https://togithub.com/fsfe/reuse-tool/issues/851)) - No longer depend on `sphinx-autodoc-typehints` for documentation. ([#​772](https://togithub.com/fsfe/reuse-tool/issues/772)) ##### Fixed - Syntax errors in .reuse/dep5 now have better error handling. ([#​841](https://togithub.com/fsfe/reuse-tool/issues/841)) - Reduced python-debian minimum version to 0.1.34. ([#​808](https://togithub.com/fsfe/reuse-tool/issues/808)) - Fix issue in `annotate` where `--single-line` and `--multi-line` would not correctly raise an error with an incompatible comment style. ([#​853](https://togithub.com/fsfe/reuse-tool/issues/853)) - Fix parsing existing copyright lines when they do not have a year ([#​861](https://togithub.com/fsfe/reuse-tool/issues/861)) - Better handling of Lisp comment styles. Now, any number of ";" characters is recognised as the prefix to a Lisp comment, and ";;;" is used when inserting comment headers, as per . ([#​874](https://togithub.com/fsfe/reuse-tool/issues/874))

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.

codecov[bot] commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (62df366) 100.00% compared to head (2cc55e0) 100.00%. Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #284 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 3 3 Lines 43 43 ========================================= Hits 43 43 ``` | [Flag](https://app.codecov.io/gh/WeblateOrg/weblate_schemas/pull/284/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WeblateOrg) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/WeblateOrg/weblate_schemas/pull/284/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WeblateOrg) | `100.00% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WeblateOrg#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.