Pylinting
This commit is contained in:
7
repl.py
7
repl.py
@ -1,10 +1,13 @@
|
||||
from ziffers import *
|
||||
""" Simple REPL for testing Ziffers notation """
|
||||
# pylint: disable=locally-disabled, redefined-builtin, broad-except
|
||||
|
||||
from rich import print
|
||||
from ziffers import parse_expression
|
||||
|
||||
EXIT_CONDITION = ("exit", "quit", "")
|
||||
|
||||
if __name__ == "__main__":
|
||||
print(f"[purple]== ZIFFERS REPL ==[/purple]")
|
||||
print("[purple]== ZIFFERS REPL ==[/purple]")
|
||||
while True:
|
||||
expr = input("> ")
|
||||
if expr not in EXIT_CONDITION:
|
||||
|
||||
Reference in New Issue
Block a user