Skip to content

Commit

Permalink
Disable ruff/pyupgrade rule UP036
Browse files Browse the repository at this point in the history
	UP036 Version block is outdated for minimum Python version
  • Loading branch information
DimitriPapadopoulos committed May 14, 2024
1 parent f535fee commit 24cc9b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/neurospin_to_bids/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 24cc9b9

Please sign in to comment.