[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2023-08-12 03:28:12 +00:00
parent f1c6a65593
commit c9e7bf6e45

View File

@ -1,4 +1,4 @@
def octal_to_binary(octal:str) -> str:
def octal_to_binary(octal: str) -> str:
"""
Convert an octal value to its binary equivalent
@ -91,6 +91,8 @@ def octal_to_binary(octal:str) -> str:
return "0b" + "".join(str(e) for e in binary)
if __name__ == "__main__":
from doctest import testmod
testmod()