From c0775c5a6f45297485446edefc19479d867053d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81bastien=20Geffroy?= Date: Mon, 28 Jun 2021 10:57:36 +0200 Subject: [PATCH] fix lint --- tests/unit/test_cli.py | 2 +- vault_cli/cli.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/unit/test_cli.py b/tests/unit/test_cli.py index 419dde4..9760fce 100644 --- a/tests/unit/test_cli.py +++ b/tests/unit/test_cli.py @@ -460,7 +460,7 @@ def test_env_file_format_error(cli_runner, vault_with_token, mocker, tmp_path): vault_with_token.db = {"foo/bar": {"value": "yay"}} result = cli_runner.invoke( - cli.cli, ["env", "--file", f"foo/bar", "--", "echo", "yay"] + cli.cli, ["env", "--file", "foo/bar", "--", "echo", "yay"] ) assert result.exit_code != 0 assert "expects both a vault path and a filesystem path" in result.output diff --git a/vault_cli/cli.py b/vault_cli/cli.py index d36864f..8efda3f 100644 --- a/vault_cli/cli.py +++ b/vault_cli/cli.py @@ -1,5 +1,4 @@ import contextlib -import json import logging import os import pathlib