Compare commits

...

2 Commits

4 changed files with 11 additions and 5 deletions

View File

@ -86,6 +86,7 @@ repos:
rev: 23.9.1
hooks:
- id: black
args: ["--line-length", "79", "--target-version", "py311"]
#- id: black-jupyter
- repo: https://github.com/scop/pre-commit-shfmt
rev: v3.7.0-1

View File

@ -4,6 +4,4 @@ root = false
# https://peps.python.org/pep-0008/#indentation
indent_style = space
indent_size = 4
#max_line_length = 79
# https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html#line-length
max_line_length = 88
max_line_length = 79

View File

@ -5,7 +5,9 @@ This script generated Keyoxide hashed proofs in argon2id and bcrypt
PROOF = str(input("Enter the proof: "))
print("$argon2id$v=19$m=64,t=512,p=2$mDejbh8SmFFJPjbjf+u9kQ$yQpomARjYKfgEDAZ1jdgnA")
print(
"$argon2id$v=19$m=64,t=512,p=2$mDejbh8SmFFJPjbjf+u9kQ$yQpomARjYKfgEDAZ1jdgnA",
)
print("$2a$11$kBchZf6QkDDHNhZhd8s7iOcXCuqAz3Qawd5eG5A6RygTtDfeZ9a/y")

View File

@ -22,7 +22,12 @@ def checkssidlen(givenssidlen):
if givenssidlen <= 32:
print(givenssid, "is", givenssidlen, "long and thus valid length")
else:
print(givenssid, "is", givenssidlen, "to long, please select a different SSID")
print(
givenssid,
"is",
givenssidlen,
"to long, please select a different SSID",
)
# Checking the SSID without _nomap