← Watch feed
style: fix typos in source code comments and strings
What changed, and why it matters
This commit only fixes spelling mistakes in comments and log messages. No actual program code, behavior, or security controls were changed.
Recommended action
No security action needed; this is a cosmetic/style-only change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff contains five typo corrections across four files: two log strings in buttons.py, one docstring in ST7789.py, one comment in pivideostream.py, and one comment in psbt_views.py. None of the changes alter executable logic, data flow, or security boundaries.
Changed components
Not specified
Inspect captured patch +5 / −5
diff --git a/src/seedsigner/hardware/buttons.py b/src/seedsigner/hardware/buttons.py
index 2f1a672..b8927aa 100644
--- a/src/seedsigner/hardware/buttons.py
+++ b/src/seedsigner/hardware/buttons.py
@@ -10,7 +10,7 @@ logger = logging.getLogger(__name__)
class HardwareButtons(Singleton):
if GPIO.RPI_INFO['P1_REVISION'] == 3: #This indicates that we have revision 3 GPIO
- logger.info("Detected 40pin GPIO (Rasbperry Pi 2 and above)")
+ logger.info("Detected 40pin GPIO (Raspberry Pi 2 and above)")
KEY_UP_PIN = 31
KEY_DOWN_PIN = 35
KEY_LEFT_PIN = 29
@@ -22,7 +22,7 @@ class HardwareButtons(Singleton):
KEY3_PIN = 36
else:
- logger.info("Assuming 26 Pin GPIO (Raspberry P1 1)")
+ logger.info("Assuming 26 Pin GPIO (Raspberry Pi 1)")
KEY_UP_PIN = 5
KEY_DOWN_PIN = 11
KEY_LEFT_PIN = 3
diff --git a/src/seedsigner/hardware/displays/ST7789.py b/src/seedsigner/hardware/displays/ST7789.py
index 67d9175..f3091ef 100644
--- a/src/seedsigner/hardware/displays/ST7789.py
+++ b/src/seedsigner/hardware/displays/ST7789.py
@@ -41,7 +41,7 @@ class ST7789(object):
self._spi.writebytes([val])
def init(self):
- """Initialize dispaly"""
+ """Initialize display"""
self.reset()
self.command(0x36)
diff --git a/src/seedsigner/hardware/pivideostream.py b/src/seedsigner/hardware/pivideostream.py
index 06a1ebb..89c8754 100644
--- a/src/seedsigner/hardware/pivideostream.py
+++ b/src/seedsigner/hardware/pivideostream.py
@@ -42,7 +42,7 @@ class PiVideoStream:
self.rawCapture.truncate(0)
# if the thread indicator variable is set, stop the thread
- # and resource camera resources
+ # and release camera resources
if self.should_stop:
logger.info("PiVideoStream: closing everything")
self.stream.close()
diff --git a/src/seedsigner/views/psbt_views.py b/src/seedsigner/views/psbt_views.py
index 58d8b84..2c2b9d4 100644
--- a/src/seedsigner/views/psbt_views.py
+++ b/src/seedsigner/views/psbt_views.py
@@ -26,7 +26,7 @@ class PSBTSelectSeedView(View):
if self.controller.psbt_seed:
if PSBTParser.has_matching_input_fingerprint(psbt=self.controller.psbt, seed=self.controller.psbt_seed, network=self.settings.get_value(SettingsConstants.SETTING__NETWORK)):
- # skip the seed prompt if a seed was previous selected and has matching input fingerprint
+ # skip the seed prompt if a seed was previously selected and has matching input fingerprint
return Destination(PSBTOverviewView)
seeds = self.controller.storage.seeds
Risk score
Our methodology →Why this scored 15/100
Human-validated context
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
No validated notes yet.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.