From 166e2df9a22f0225b86409e0163999204a8fb3c5 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 7 Mar 2022 19:51:25 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.0.1 → v4.1.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.0.1...v4.1.0) - https://github.com/ambv/black → https://github.com/psf/black - [github.com/psf/black: 21.6b0 → 22.1.0](https://github.com/psf/black/compare/21.6b0...22.1.0) - [github.com/igorshubovych/markdownlint-cli: v0.27.1 → v0.31.1](https://github.com/igorshubovych/markdownlint-cli/compare/v0.27.1...v0.31.1) --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a21e7150ebfe..09fb4f4d4879 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ default_stages: [commit] repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.0.1 + rev: v4.1.0 hooks: - id: no-commit-to-branch args: [--branch, main, --pattern, 1_.*_X] @@ -27,8 +27,8 @@ repos: hooks: - id: codespell args: ['--config', './contrib/codespell.cfg', --write-changes] -- repo: https://github.com/ambv/black - rev: 21.6b0 +- repo: https://github.com/psf/black + rev: 22.1.0 hooks: - id: black - repo: local @@ -70,7 +70,7 @@ repos: language: script entry: ./contrib/ci/check-license.py - repo: https://github.com/igorshubovych/markdownlint-cli - rev: v0.27.1 + rev: v0.31.1 hooks: - id: markdownlint args: ['--fix', '--ignore', '.github'] From ba698ca145d8b9a6b081dc6d77594bc67d556371 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 7 Mar 2022 19:52:37 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- libfwupd/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfwupd/README.md b/libfwupd/README.md index de31bfa4e484..e325c3efc7c2 100644 --- a/libfwupd/README.md +++ b/libfwupd/README.md @@ -26,6 +26,6 @@ * Rename fwupd_result_update_*() to fwupd_release_*() * Rename fwupd_result_*() to fwupd_device_*() * Convert FwupdResult to FwupdDevice in all callbacks -* Rename fwupd_device_*_provider -> fwupd_device_*_plugin +* Rename fwupd_device_**provider -> fwupd_device**_plugin * Convert hash types sa{sv} -> a{sv} * Convert fwupd_client_get_updates() -> fwupd_client_get_upgrades()