File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1261,7 +1261,7 @@ def __init__(
1261
1261
behavior on this parser. If this is None or not present, then cmd2 will use
1262
1262
argparse_completer.DEFAULT_AP_COMPLETER when tab completing this parser's arguments
1263
1263
"""
1264
- if sys .version_info [ 1 ] >= 14 :
1264
+ if sys .version_info >= ( 3 , 14 ) :
1265
1265
# Python >= 3.14 so pass new arguments to parent argparse.ArgumentParser class
1266
1266
super (Cmd2ArgumentParser , self ).__init__ (
1267
1267
prog = prog ,
Original file line number Diff line number Diff line change @@ -217,8 +217,8 @@ select = [
217
217
" TID" , # flake8-tidy-imports (extra import rules to check)
218
218
# "TRY", # tryceratops (warnings related to exceptions and try/except)
219
219
# "UP", # pyupgrade (A tool (and pre-commit hook) to automatically upgrade syntax for newer versions of the language)
220
- " W" , # pycodestyle warnings (warn about minor stylistic issues)
221
- # "YTT", # flake8-2020 (checks for misuse of sys.version or sys.version_info)
220
+ " W" , # pycodestyle warnings (warn about minor stylistic issues)
221
+ " YTT" , # flake8-2020 (checks for misuse of sys.version or sys.version_info)
222
222
]
223
223
ignore = [
224
224
# `uv run ruff rule E501` for a description of that rule
You can’t perform that action at this time.
0 commit comments