This commit is contained in:
lz_db
2025-11-16 12:31:03 +08:00
commit 0fab423a18
1451 changed files with 743213 additions and 0 deletions

17
qa.py Normal file
View File

@@ -0,0 +1,17 @@
import os
import sys
if len(sys.argv) > 1:
flak8_args = sys.argv[1:]
command = 'flake8 --ignore=F722,F841,F821,W504,E402,E501,E275,E902 ' + 'ccxt/' + ' ccxt/'.join(flak8_args)
print(f'\n{command}\n')
os.system(command)
exit()
if os.name == 'posix':
code = os.WEXITSTATUS(os.system('./fastflake.sh'))
exit(code)
else:
command = 'flake8 --ignore=F722,F841,F821,W504,E402,E501,E275,E902 --exclude static_dependencies,node_modules,.tox,build'
print(f'\n{command}\n')
os.system(command)