git.99rst.org
/
stevenblack-hosts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
2583dec
)
Extract flake8 config in setup.cfg
author
gfyoung
<redacted>
Sun, 9 Aug 2020 07:21:06 +0000
(
00:21
-0700)
committer
gfyoung
<redacted>
Sun, 9 Aug 2020 07:22:23 +0000
(
00:22
-0700)
Now you can just run "flake8" when linting
.github/workflows/ci.yml
patch
|
blob
|
history
setup.cfg
[new file with mode: 0644]
patch
|
blob
diff --git
a/.github/workflows/ci.yml
b/.github/workflows/ci.yml
index 86a3e898b4150767b497b10472a6091c2894d0df..a2b15644311dfbad921c36bc835770f0bcdfb00b 100644
(file)
--- a/
.github/workflows/ci.yml
+++ b/
.github/workflows/ci.yml
@@
-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
diff --git a/setup.cfg
b/setup.cfg
new file mode 100644
(file)
index 0000000..
6deafc2
--- /dev/null
+++ b/
setup.cfg
@@ -0,0
+1,2
@@
+[flake8]
+max-line-length = 120
git clone https://git.99rst.org/PROJECT