autoblack: actions/checkout@v1 # Use v1, NOT v2 (#1796) · unconnect/TheAlgorithmsInPython@b1377f0 · GitHub
Skip to content

Commit b1377f0

Browse files
cclaussgithub-actions
andauthored
autoblack: actions/checkout@v1 # Use v1, NOT v2 (TheAlgorithms#1796)
* autoblack: actions/checkout@v1 # Use v1, NOT v2 * fixup! Format Python code with psf/black push Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
1 parent 10fc90c commit b1377f0

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/autoblack.yml

Lines changed: 1 addition & 1 deletion

ciphers/rot13.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
def dencrypt(s: str, n: int=13):
1+
def dencrypt(s: str, n: int = 13):
22
"""
33
https://en.wikipedia.org/wiki/ROT13
44
@@ -24,13 +24,14 @@ def main():
2424
s0 = input("Enter message: ")
2525

2626
s1 = dencrypt(s0, 13)
27-
print("Encryption:", s1)
27+
print("Encryption:", s1)
2828

2929
s2 = dencrypt(s1, 13)
30-
print("Decryption: ", s2)
30+
print("Decryption: ", s2)
3131

3232

3333
if __name__ == "__main__":
3434
import doctest
35+
3536
doctest.testmod()
3637
main()

sorts/comb_sort.py

Lines changed: 1 addition & 0 deletions

0 commit comments

Comments
 (0)