Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jul 18, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 21, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
fsfe/reuse-tool repository major v1.1.2 -> v2.1.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)

v2.1.0

Compare Source

After the yanked 2.0.0 release, we're excited to announce our latest major version packed with new features and improvements! We've expanded our file type recognition, now including Fennel, CommonJS, Qt .pro, .pri, .qrc, .qss, .ui, Textile, Visual Studio Code workspace, Application Resource Bundle, Svelte components, AES encrypted files, Jakarta Server Page, Clang format, Browserslist config, Prettier config and ignored files, Flutter pubspec.lock, .metadata, Terraform and HCL, Typst and more.

We've also added the ability to detect SPDX snippet tags in files and introduced additional license metadata for the Python package. A new --json flag has been added to the lint command, marking the first step towards better integration of REUSE output with other tools.

On the changes front, we've bumped the SPDX license list to v3.21 and made significant updates to our Sphinx documentation. Please note that Python 3.6 and 3.7 support has been dropped in this release.

We've fixed several issues including automatic generation of Sphinx documentation via readthedocs.io and a compatibility issue where reuse could not be installed if gettext is not installed.

This update is all about making your experience better. Enjoy adding copyright and licensing information to your code!

Added
  • Detect SPDX snippet tags in files. (#​699)
  • More file types are recognised:
    • Fennel (.fnl) (#​638)
    • CommonJS (.cjs) (#​632)
    • Qt .pro (.pro) (#​632)
    • Qt .pri (.pri) (#​755)
    • Qt .qrc (.qrc) (#​755)
    • Qt .qss(.qss) (#​755)
    • Qt .ui (.ui) (#​755)
    • Textile (.textile) (#​712)
    • Visual Studio Code workspace (.code-workspace) (#​747)
    • Application Resource Bundle (.arb) (#​749)
    • Svelte components (.svelte)
    • AES encrypted files (.aes) (#​758)
    • Jakarte Server Page (.jsp) (#​757)
    • Clang format (.clang-format) (#​632)
    • Browserslist config (.browserslist)
    • Prettier config (.prettierrc) and ignored files (.prettierignore)
    • Flutter pubspec.lock (pubspec.lock) (#​751)
    • Flutter .metadata (.metadata) (#​751)
    • Terraform (.tf, tfvars) and HCL (.hcl). (#​756)
    • Typst (.typ)
  • Added loglevel argument to pytest and skip one test if loglevel is too high (#​645).
  • --add-license-concluded, --creator-person, and --creator-organization added to reuse spdx. (#​623)
  • Additional license metadata for the Python package has been added. The actual SPDX license expression remains the same: Apache-2.0 AND CC0-1.0 AND CC-BY-SA-4.0 AND GPL-3.0-or-later. (#​733)
  • Added --contributor option to annotate. (#​669)
  • Added --json flag to lint command (#​654).
  • reuse.ReuseInfo now has copy and union methods. (#​759)
  • reuse.ReuseInfo now stores information about the source from which the information was gathered. (#​654, #​787)
  • Added Ukrainian and Czech translations (#​767)
  • Added --suppress-deprecation to hide (verbose) deprecation warnings. (#​778)
Changed
  • Bumped SPDX license list to v3.20. (#​692)
  • reuse.SpdxInfo was renamed to reuse.ReuseInfo. It is now a (frozen) dataclass instead of a namedtuple. This is only relevant if you're using reuse as a library in Python. Other functions and methods were similarly renamed. (#​669)
  • Sphinx documentation: Switched from RTD theme to Furo. (#​673, #​716)
  • Removed dependency on setuptools' pkg_resources to determine the installed version of reuse. (#​724)
  • Bumped SPDX license list to v3.21. (#​763)
  • Project.reuse_info_of now returns a list of ReuseInfo objects instead of a single one. This is because the source information is now stored alongside the REUSE information. (#​787)
Deprecated
  • Pending deprecation of aggregation of file sources. Presently, when copyright and licensing information is defined both within e.g. the file itself and in the DEP5 file, then the information is merged or aggregated for the purposes of linting and BOM generation. In the future, this will no longer be the case unless explicitly defined. The exact mechanism for this is not yet concrete, but a PendingDeprecationWarning will be shown to the user to make them aware of this. (#​778)
Removed
  • Python 3.6 and 3.7 support has been dropped. (#​673, #​759)
  • Removed runtime and build time dependency on setuptools. (#​724)
Fixed
  • Fixed automatic generation of Sphinx documentation via readthedocs.io by adding a .readthedocs.yaml configuration file (#​648)
  • Fixed a compatibility issue where reuse could not be installed (built) if gettext is not installed. (#​691)
  • Translations are available in Docker images. (#​701)
  • Marked the /data directory in Docker containers as safe in Git, preventing errors related to linting Git repositories. (#​720)
  • Repaired error when using Galician translations. (#​719)

v2.0.0

Compare Source

Added
  • Detect SPDX snippet tags in files. (#​699)
  • More file types are recognised:
  • More files are recognised:
    • Clang format (.clang-format) (#​632)
    • Browserslist config (.browserslist)
    • Prettier config (.prettierrc) and ignored files (.prettierignore)
    • Flutter pubspec.lock (pubspec.lock) (#​751)
    • Flutter .metadata (.metadata) (#​751)
    • Terraform (.tf, tfvars) and HCL (.hcl). (#​756)
  • Added loglevel argument to pytest and skip one test if loglevel is too high
    (#​645).
  • --add-license-concluded, --creator-person, and --creator-organization
    added to reuse spdx. (#​623)
  • Additional license metadata for the Python package has been added. The actual
    SPDX license expression remains the same:
    Apache-2.0 AND CC0-1.0 AND CC-BY-SA-4.0 AND GPL-3.0-or-later. (#​733)
  • Added --contributor option to annotate. (#​669)
  • Added --json flag to lint command (#​654).
  • reuse.ReuseInfo now has copy and union methods. (#​759)
  • Added Ukrainian and Czech translations (#​767)
Changed
  • Bumped SPDX license list to v3.20. (#​692)
  • reuse.SpdxInfo was renamed to reuse.ReuseInfo. It is now a (frozen)
    dataclass instead of a namedtuple. This is only relevant if you're using reuse
    as a library in Python. (#​669)
  • Sphinx documentation: Switched from RTD theme to Furo. (#​673, #​716)
  • Removed dependency on setuptools' pkg_resources to determine the installed
    version of reuse. (#​724)
  • Bumped SPDX license list to v3.21. (#​763)
  • Bumped REUSE Spec version to 3.1. (#​768)
  • Introduce an order of precedence. The copyright and licensing information from
    different sources (e.g. .license or .reuse/dep5 file) is no longer merged.
    (#​654)
Removed
  • Python 3.6 and 3.7 support has been dropped. (#​673, #​759)
  • Removed runtime and build time dependency on setuptools. (#​724)
Fixed
  • Fixed automatic generation of Sphinx documentation via readthedocs.io by
    adding a .readthedocs.yaml configuration file (#​648)
  • Fixed a compatibility issue where reuse could not be installed (built) if
    gettext is not installed. (#​691)
  • Translations are available in Docker images. (#​701)
  • Marked the /data directory in Docker containers as safe in Git, preventing
    errors related to linting Git repositories. (#​720)
  • Repaired error when using Galician translations. (#​719)

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.


  • If you want to rebase/retry this PR, check this box

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

@renovate renovate bot added the dependencies Third-party library dependencies. label Jun 21, 2023
@renovate renovate bot enabled auto-merge (rebase) June 21, 2023 14:08
@renovate renovate bot force-pushed the renovate/fsfe-reuse-tool-2.x branch from d2d48e9 to ca618e5 Compare June 21, 2023 19:55
@codecov
Copy link

codecov bot commented Jun 21, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (bf5f265) 94.11% compared to head (38f1f0c) 94.11%.

❗ Current head 38f1f0c differs from pull request most recent head f349a9d. Consider uploading reports for the commit f349a9d to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #598   +/-   ##
=======================================
  Coverage   94.11%   94.11%           
=======================================
  Files           5        5           
  Lines          51       51           
  Branches        6        6           
=======================================
  Hits           48       48           
  Misses          1        1           
  Partials        2        2           
Flag Coverage Δ
unittests 94.11% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@renovate renovate bot force-pushed the renovate/fsfe-reuse-tool-2.x branch 6 times, most recently from 97f1a2b to 259103d Compare July 1, 2023 22:39
@renovate renovate bot force-pushed the renovate/fsfe-reuse-tool-2.x branch 7 times, most recently from c93c5be to 6469e86 Compare July 10, 2023 02:33
@renovate renovate bot force-pushed the renovate/fsfe-reuse-tool-2.x branch 12 times, most recently from 878e911 to 38f1f0c Compare July 17, 2023 18:52
@renovate renovate bot force-pushed the renovate/fsfe-reuse-tool-2.x branch from 38f1f0c to f349a9d Compare July 18, 2023 10:27
@renovate renovate bot merged commit b43d1f9 into main Jul 18, 2023
@renovate renovate bot deleted the renovate/fsfe-reuse-tool-2.x branch July 18, 2023 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Third-party library dependencies.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants