We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f1da80 commit 174cb1bCopy full SHA for 174cb1b
setup.py
@@ -36,7 +36,10 @@
36
reply = str(input_method(confirm_text)).lower().strip()
37
if reply == "yes":
38
print("\n*** Checking code health with flake8:\n")
39
- os.system("python -m pip install 'flake8==5.0.4'")
+ 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'")
43
flake8_status = os.system("flake8 --exclude=recordings,temp")
44
if flake8_status != 0:
45
print("\nWARNING! Fix flake8 issues before publishing to PyPI!\n")
0 commit comments