mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-16 20:27:05 +03:00
Update flake8 configurations
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
This commit is contained in:
@@ -5,7 +5,7 @@ install:
|
||||
- pip install wheel flake8 requests six
|
||||
|
||||
script:
|
||||
- flake8
|
||||
- flake8 aqt bin
|
||||
- python -m aqt --help
|
||||
|
||||
deploy:
|
||||
|
||||
@@ -36,14 +36,15 @@ def main():
|
||||
install_parser.add_argument('host', choices=['linux', 'mac', 'windows'], help="host os name")
|
||||
install_parser.add_argument('target', choices=['desktop', 'android', 'ios'], help="target sdk")
|
||||
install_parser.add_argument('arch', nargs='?', help="\ntarget linux/desktop: gcc_64"
|
||||
"\ntarget mac/desktop: clang_64"
|
||||
"\ntarget mac/ios: ios"
|
||||
"\nwindows/desktop: win64_msvc2017_64, win64_msvc2015_64"
|
||||
"\n in32_msvc2015, win32_mingw53"
|
||||
"\nandroid: android_x86, android_armv7")
|
||||
"\ntarget mac/desktop: clang_64"
|
||||
"\ntarget mac/ios: ios"
|
||||
"\nwindows/desktop: win64_msvc2017_64, win64_msvc2015_64"
|
||||
"\n in32_msvc2015, win32_mingw53"
|
||||
"\nandroid: android_x86, android_armv7")
|
||||
list_parser = subparsers.add_parser('list')
|
||||
list_parser.add_argument("qt_version", help="Qt version in the format of \"5.X.Y\"")
|
||||
help_parser = subparsers.add_parser('help')
|
||||
help_parser.add_help("show help")
|
||||
args = parser.parse_args()
|
||||
arch = args.arch
|
||||
target = args.target
|
||||
|
||||
@@ -15,7 +15,7 @@ jobs:
|
||||
- script: |
|
||||
python -m pip install $(pydepends)
|
||||
python -m pip install flake8 twine wheel
|
||||
flake8 .
|
||||
flake8 aqt bin
|
||||
displayName: 'Run lint tests'
|
||||
- script: |
|
||||
sudo apt-get update
|
||||
|
||||
Reference in New Issue
Block a user