Skip to content

Commit 174cb1b

Browse files
committed
Update deploy dependencies
1 parent 2f1da80 commit 174cb1b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@
3636
reply = str(input_method(confirm_text)).lower().strip()
3737
if reply == "yes":
3838
print("\n*** Checking code health with flake8:\n")
39-
os.system("python -m pip install 'flake8==5.0.4'")
39+
if sys.version_info >= (3, 9):
40+
os.system("python -m pip install 'flake8==6.0.0'")
41+
else:
42+
os.system("python -m pip install 'flake8==5.0.4'")
4043
flake8_status = os.system("flake8 --exclude=recordings,temp")
4144
if flake8_status != 0:
4245
print("\nWARNING! Fix flake8 issues before publishing to PyPI!\n")

0 commit comments

Comments
 (0)