From 24cc9b9dcf4ab4ca8690fc0bb3831ed268bd134f Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Sun, 5 May 2024 13:07:48 +0200 Subject: [PATCH] Disable ruff/pyupgrade rule UP036 UP036 Version block is outdated for minimum Python version --- src/neurospin_to_bids/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/neurospin_to_bids/__main__.py b/src/neurospin_to_bids/__main__.py index 00c62a0..669f638 100755 --- a/src/neurospin_to_bids/__main__.py +++ b/src/neurospin_to_bids/__main__.py @@ -605,7 +605,7 @@ def bids_acquisition_download(data_root_path='', def main(argv=sys.argv): prog = os.path.basename(argv[0]) - if sys.version_info < (3, 6): + if sys.version_info < (3, 6): # noqa: UP036 sys.stderr.write(f'ERROR: {prog} needs Python 3.6 or later\n') return 1 if argv is None: