From 931bb4ca03f975b1239a1ba730a235c68ebbf7de Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 29 Jan 2024 16:42:53 +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/psf/black: 23.12.1 → 24.1.1](https://github.com/psf/black/compare/23.12.1...24.1.1) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1f38fe0..52abce0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ exclude: 'test_hookman_generator/*' repos: - repo: https://github.com/psf/black - rev: 23.12.1 + rev: 24.1.1 hooks: - id: black args: [--safe, --quiet] From 604693bbabae9c37a1c24c07d6e46cee5cf5c1bd Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 29 Jan 2024 16:44:34 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- hookman/plugin_config.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/hookman/plugin_config.py b/hookman/plugin_config.py index 2cf9222..2218ab2 100644 --- a/hookman/plugin_config.py +++ b/hookman/plugin_config.py @@ -129,13 +129,13 @@ def _load_yaml_file(cls, yaml_content): plugin_config_file_content = strictyaml.load(yaml_content, PLUGIN_CONFIG_SCHEMA).data if sys.platform == "win32": - plugin_config_file_content[ - "shared_lib_name" - ] = f"{plugin_config_file_content['id']}.dll" + plugin_config_file_content["shared_lib_name"] = ( + f"{plugin_config_file_content['id']}.dll" + ) else: - plugin_config_file_content[ - "shared_lib_name" - ] = f"lib{plugin_config_file_content['id']}.so" + plugin_config_file_content["shared_lib_name"] = ( + f"lib{plugin_config_file_content['id']}.so" + ) return plugin_config_file_content @classmethod