Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repos:
hooks:
- id: autopep8
- repo: https://github.com/pycqa/isort
rev: 7.0.0
rev: 9.0.0a3
hooks:
- id: isort
name: isort (python)
Expand Down
5 changes: 3 additions & 2 deletions examples/do_signin.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
EXISTING_AUTH_AVAIL,
EXISTING_AUTH_REQD
)
from pyonepassword.api.exceptions import \
OPAuthenticationException # noqa: E402
from pyonepassword.api.exceptions import ( # noqa: E402
OPAuthenticationException
)


def do_signin(vault=None, op_path="op", existing_auth=EXISTING_AUTH_AVAIL, account=None, logger=None):
Expand Down
5 changes: 3 additions & 2 deletions examples/service_accounts/02_item_get_required_option.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@

# isort: split
from pyonepassword import OP # noqa: E402
from pyonepassword.api.exceptions import \
OPSvcAcctCommandNotSupportedException # noqa: E402
from pyonepassword.api.exceptions import ( # noqa: E402
OPSvcAcctCommandNotSupportedException
)


def do_signin():
Expand Down
5 changes: 3 additions & 2 deletions examples/service_accounts/03_vault_list_prohibted_option.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@

# isort: split
from pyonepassword import OP # noqa: E402
from pyonepassword.api.exceptions import \
OPSvcAcctCommandNotSupportedException # noqa: E402
from pyonepassword.api.exceptions import ( # noqa: E402
OPSvcAcctCommandNotSupportedException
)


def do_pprint(obj):
Expand Down