pre-commit run --all-files

This commit is contained in:
Aminda Suomalainen 2026-02-07 10:47:49 +02:00
parent f00bae45db
commit 73c587d10e
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723
3 changed files with 4 additions and 4 deletions

View File

@ -3,6 +3,7 @@
Takes desired PIN length as an argument and generates a PIN code of that Takes desired PIN length as an argument and generates a PIN code of that
length. length.
""" """
import secrets import secrets
import sys import sys

View File

@ -36,10 +36,8 @@ def main():
else: else:
# Tästä tuli vahingossa catch-all virheellisille syötteille, enkä ole # Tästä tuli vahingossa catch-all virheellisille syötteille, enkä ole
# varma toteutinko kaikki skenaariot # varma toteutinko kaikki skenaariot
print( print("Joko tilannetta ei ole vielä toteutettu tai annoit \
"Joko tilannetta ei ole vielä toteutettu tai annoit \ virheellisen syötteen. Ilmoittaisitko ongelman kehittäjälle?")
virheellisen syötteen. Ilmoittaisitko ongelman kehittäjälle?"
)
print("Tietokone valitsi:", tkvalinta, "syötteesi oli", valinta) print("Tietokone valitsi:", tkvalinta, "syötteesi oli", valinta)

View File

@ -4,6 +4,7 @@ A family member wanted to know what dates are on weeks 26 and 31 and instead of
the answer received this script. I thought I would try to improve it for fun, the answer received this script. I thought I would try to improve it for fun,
since it doesn't pass pylint or anything. since it doesn't pass pylint or anything.
""" """
import datetime import datetime
# Current year # Current year