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