Skip to content

Commit ae1dd09

Browse files
github-actionsgithub-actions
github-actions
authored and
github-actions
committed
fixup! Format Python code with psf/black push
1 parent ae9b4d4 commit ae1dd09

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

ciphers/rsa_key_generator.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def makeKeyFiles(name, keySize):
4040
print("\nWARNING:")
4141
print(
4242
'"%s_pubkey.txt" or "%s_privkey.txt" already exists. \n'
43-
'Use a different name or delete these files and re-run this program.'
43+
"Use a different name or delete these files and re-run this program."
4444
% (name, name)
4545
)
4646
sys.exit()

maths/zellers_congruence.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,10 @@ def zeller(date_input: str) -> str:
147147

148148
doctest.testmod()
149149
parser = argparse.ArgumentParser(
150-
description=("Find out what day of the week nearly any date is or was. Enter "
151-
"date as a string in the mm-dd-yyyy or mm/dd/yyyy format")
150+
description=(
151+
"Find out what day of the week nearly any date is or was. Enter "
152+
"date as a string in the mm-dd-yyyy or mm/dd/yyyy format"
153+
)
152154
)
153155
parser.add_argument(
154156
"date_input", type=str, help="Date as a string (mm-dd-yyyy or mm/dd/yyyy)"

matrix/matrix_class.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ def determinant(self):
164164
)
165165
else:
166166
return sum(
167-
self.rows[0][column] * self.cofactors().rows[0][column]
168-
for column in range(self.num_columns)
167+
self.rows[0][column] * self.cofactors().rows[0][column]
168+
for column in range(self.num_columns)
169169
)
170170

171171
def is_invertable(self):

0 commit comments

Comments
 (0)