mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 12:40:35 +00:00
Removed prints (#5367)
* Removed prints * FIxed typing * FIxed typing * Fixed typing * Fixed typing * Fixed typing * Fixed typing * Fixed typing * Fix * Reverted stuff
This commit is contained in:
@@ -67,12 +67,12 @@ def main(ignore_files: Optional[str], ignore_commands: Optional[str]):
|
||||
if not undocumented:
|
||||
sys.exit(0)
|
||||
else:
|
||||
print("The following commands do not have documentation:")
|
||||
print("The following commands do not have documentation:") # noqa: T201
|
||||
|
||||
undocumented = list(undocumented)
|
||||
undocumented.sort()
|
||||
for item in undocumented:
|
||||
print(item)
|
||||
print(item) # noqa: T201
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ def process_file(file_path: str, exp: str):
|
||||
if long_arg is not None:
|
||||
long_arg = long_arg.group()
|
||||
if long_arg not in ("HistoryManager.hist_file", RESERVED_ARGS[short_arg]):
|
||||
print(
|
||||
print( # noqa: T201
|
||||
f"{file_path}: "
|
||||
f"'-{short_arg}' argument expected '{RESERVED_ARGS[short_arg]}'"
|
||||
f" but assigned to '{long_arg}'"
|
||||
|
||||
Reference in New Issue
Block a user