Extract flake8 config in setup.cfg

Now you can just run "flake8" when linting
This commit is contained in:
gfyoung committed 2020-08-09 00:22:23 -07:00
1 parent 2583decb40
commit ab1bbe7b53
2 files changed
+3 -1

No files matched your search

+1 -1
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
View File
@@ -0,0 +1,2 @@
[flake8]
max-line-length = 120