Extract flake8 config in setup.cfg

Now you can just run "flake8" when linting
This commit is contained in:
gfyoung 2020-08-09 00:21:06 -07:00
parent 2583decb40
commit ab1bbe7b53
No known key found for this signature in database
GPG Key ID: ED94D6B8AA304272
2 changed files with 3 additions and 1 deletions

View File

@ -51,7 +51,7 @@ jobs:
run: pip install -r requirements.txt
- name: Run lint
run: flake8 --max-line-length 120
run: flake8
- name: Run tests
run: python testUpdateHostsFile.py

2
setup.cfg Normal file
View File

@ -0,0 +1,2 @@
[flake8]
max-line-length = 120