Skip to content

Commit

Permalink
Merge pull request #127 from ESSS/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
prusse-martin authored Jan 29, 2024
2 parents 43d53e3 + 604693b commit 7668ba9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
12 changes: 6 additions & 6 deletions hookman/plugin_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7668ba9

Please sign in to comment.