refactor: Indent ... for visual purposes (#7744)

This commit is contained in:
Caeden Perelli-Harris
2022-10-27 18:42:30 +01:00
committed by GitHub
parent e8915097c4
commit 9bba42eca8
46 changed files with 134 additions and 134 deletions

View File

@ -7,7 +7,7 @@ def binary_recursive(decimal: int) -> str:
'1001000'
>>> binary_recursive("number")
Traceback (most recent call last):
...
...
ValueError: invalid literal for int() with base 10: 'number'
"""
decimal = int(decimal)
@ -30,11 +30,11 @@ def main(number: str) -> str:
'-0b101000'
>>> main(40.8)
Traceback (most recent call last):
...
...
ValueError: Input value is not an integer
>>> main("forty")
Traceback (most recent call last):
...
...
ValueError: Input value is not an integer
"""
number = str(number).strip()