mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-06-09 08:14:49 +08:00
Added flake8-simplify (#4227)
* Added flake8-simplify * Update linting.yml * update. left 1 for you colin * Fix that one * Missed * Fix * mypy --------- Co-authored-by: james <jmaslek11@gmail.com>
This commit is contained in:
@@ -32,14 +32,8 @@ def main(ignore_files: Optional[str], ignore_commands: Optional[str]):
|
||||
Commands that should not be checked
|
||||
"""
|
||||
|
||||
if ignore_files:
|
||||
ignore_file_list = ignore_files.split(",")
|
||||
else:
|
||||
ignore_file_list = []
|
||||
if ignore_commands:
|
||||
ignore_cmds_list = ignore_commands.split(",")
|
||||
else:
|
||||
ignore_cmds_list = []
|
||||
ignore_file_list = ignore_files.split(",") if ignore_files else []
|
||||
ignore_cmds_list = ignore_commands.split(",") if ignore_commands else []
|
||||
path = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
gst_path = os.path.join(path, "openbb_terminal/")
|
||||
main_yaml_filename = os.path.join(path, "website/data/menu/main.yml")
|
||||
|
||||
Reference in New Issue
Block a user