Update flake8 configurations

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
This commit is contained in:
Hiroshi Miura
2019-03-24 11:40:33 +09:00
parent 9802edd1b3
commit 20b0add0ec
4 changed files with 9 additions and 7 deletions

View File

@@ -5,7 +5,7 @@ install:
- pip install wheel flake8 requests six
script:
- flake8
- flake8 aqt bin
- python -m aqt --help
deploy:

View File

@@ -44,6 +44,7 @@ def main():
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

View File

@@ -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

View File

@@ -1,5 +1,6 @@
[flake8]
max-line-length = 125
exclude = .git,__pycache__,docs/conf.py,build,dist,tmp,venv
[bdist_wheel]
universal=1