diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 52bee42..4b9d926 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -27,12 +27,12 @@ repos: - id: validate_manifest - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.8.6 + rev: v0.9.1 hooks: - id: ruff - id: ruff-format - repo: https://github.com/woodruffw/zizmor-pre-commit - rev: v1.0.0 + rev: v1.1.1 hooks: - id: zizmor diff --git a/src/poetry_plugin_shell/command.py b/src/poetry_plugin_shell/command.py index 595c8d7..234ac85 100644 --- a/src/poetry_plugin_shell/command.py +++ b/src/poetry_plugin_shell/command.py @@ -20,7 +20,7 @@ class ShellCommand(EnvCommand): help = f"""The shell command spawns a shell within the project's virtual environment. By default, the current active shell is detected and used. Failing that, -the shell defined via the environment variable {'COMSPEC' if os.name == 'nt' else 'SHELL'} is used. +the shell defined via the environment variable {"COMSPEC" if os.name == "nt" else "SHELL"} is used. If a virtual environment does not exist, it will be created. """