From eddf2c5886ba41ebb9a690dfe22266284bbbd6b5 Mon Sep 17 00:00:00 2001 From: Marco Enrico Piras Date: Wed, 6 Nov 2024 10:43:42 +0100 Subject: [PATCH] refactor(cli): :stethoscope: disable version check --- rocrate_validator/cli/main.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/rocrate_validator/cli/main.py b/rocrate_validator/cli/main.py index 01e8655..6ab7b3e 100644 --- a/rocrate_validator/cli/main.py +++ b/rocrate_validator/cli/main.py @@ -70,11 +70,11 @@ def cli(ctx: click.Context, debug: bool, version: bool, disable_color: bool, no_ try: # Check the python version - if not check_python_version(): - console.print( - "\n[bold][red]ERROR:[/red] A Python version " - f"{'.'.join([str(_) for _ in get_min_python_version()])} or newer is required ! [/bold]") - sys.exit(1) + # if not check_python_version(): + # console.print( + # "\n[bold][red]ERROR:[/red] A Python version " + # f"{'.'.join([str(_) for _ in get_min_python_version()])} or newer is required ! [/bold]") + # sys.exit(1) # If the version flag is set, print the version and exit if version: