Skip to content

Commit

Permalink
Minor refactoring and config fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
paulfioravanti committed Sep 2, 2024
1 parent 38f60b1 commit 3dfa8b7
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion plover_1password/__version__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""
Version attribute
"""
__version__ = "0.3.9"
__version__ = "0.3.10"
2 changes: 1 addition & 1 deletion plover_1password/extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
from onepassword.client import Client

from . import (
service_account,
secret,
secret_reference,
service_account,
shell_command
)

Expand Down
2 changes: 1 addition & 1 deletion plover_1password/secret/resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ async def resolve(client: Client, secret_reference: str) -> str:
secret: str = await client.secrets.resolve(secret_reference)
except Exception as exc: # pylint: disable=broad-except
error.handle_ffi_error(exc, secret_reference)
raise ValueError(str(exc)) from exc
raise ValueError(exc) from exc

return secret
2 changes: 1 addition & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[pytest]
asyncio_mode = auto
asyncio_default_fixture_loop_scope = function
asyncio_mode = auto
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ test =
mypy
pylint
pytest
pytest-asyncio
pytest-cov
pytest-mock
pytest-asyncio

[tool:pytest]
pythonpath = plover_1password
Expand All @@ -57,4 +57,4 @@ ignore_missing_imports = True
ignore_missing_imports = True

[pytest]
mock_use_standalone_module = true
mock_use_standalone_module = True

0 comments on commit 3dfa8b7

Please sign in to comment.