Skip to content

Commit

Permalink
style: fix article
Browse files Browse the repository at this point in the history
[no changelog]
  • Loading branch information
M1nd3r committed Dec 2, 2024
1 parent a3c275f commit 0643d95
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion core/embed/rust/src/ui/model_tt/layout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1718,7 +1718,7 @@ pub static mp_module_trezorui2: Module = obj_module! {
/// """Calls drop on contents of the root component."""
///
/// class UiResult:
/// """Result of an UI operation."""
/// """Result of a UI operation."""
/// pass
///
/// mock:global
Expand Down
2 changes: 1 addition & 1 deletion core/mocks/generated/trezorui2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,7 @@ class LayoutObj(Generic[T]):

# rust/src/ui/model_tt/layout.rs
class UiResult:
"""Result of an UI operation."""
"""Result of a UI operation."""
pass
CONFIRMED: UiResult
CANCELLED: UiResult
Expand Down
2 changes: 1 addition & 1 deletion core/src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

# trezor.pin imports trezor.utils
# We need it as an always-active module because trezor.pin.show_pin_timeout is used
# as an UI callback for storage, which can be invoked at any time
# as a UI callback for storage, which can be invoked at any time
import trezor.pin # noqa: F401

# === Prepare the USB interfaces first. Do not connect to the host yet.
Expand Down
2 changes: 1 addition & 1 deletion python/src/trezorlib/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def __init__(
You have to provide a `transport`, i.e., a raw connection to the device. You can
use `trezorlib.transport.get_transport` to find one.
You have to provide an UI implementation for the three kinds of interaction:
You have to provide a UI implementation for the three kinds of interaction:
- button request (notify the user that their interaction is needed)
- PIN request (on T1, ask the user to input numbers for a PIN matrix)
- passphrase request (ask the user to enter a passphrase) See `trezorlib.ui` for
Expand Down

0 comments on commit 0643d95

Please sign in to comment.