Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
max-muoto committed May 23, 2024
1 parent c21d2a7 commit f556160
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 4 additions & 3 deletions keychain_access/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@
import keychain_access
# Store a password
keychain_access.set_password('my_service', 'my_account', 'my_password')
keychain_access.set_password("my_service", "my_account", "my_password")
# Retrieve a password
password = keychain_access.get_password('my_service', 'my_account')
password = keychain_access.get_password("my_service", "my_account")
# Delete a password
keychain_access.delete_password('my_service', 'my_account')
keychain_access.delete_password("my_service", "my_account")
```
"""

from __future__ import annotations

from keychain_access.core import add, delete, find
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ target-version = "py38"
line-length = 100
lint.extend-select = ["I"]

[tool.ruff.format]
docstring-code-format = true

[tool.ruff.lint.isort]
required-imports = ["from __future__ import annotations"]
Expand Down

0 comments on commit f556160

Please sign in to comment.