Skip to content

Commit ecae14c

Browse files
committed
Switch basic flake8 linter with Lintly-Flake8
The current flake8 linter only shows console output, which basically means we have to tell contributors to look at that (which is hard) or fix the style ourselves (which takes time and really shouldn't be our priority). This new linter I found on GitHub Marketplace should add reviews to code with style suggestions based on output from flake8, so that solves that issue.
1 parent 31d347e commit ecae14c

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
branches: [ master ]
88

99
jobs:
10-
check-python-style:
10+
check-style:
1111
runs-on: ubuntu-latest
1212

1313
steps:
@@ -16,7 +16,9 @@ jobs:
1616
uses: actions/setup-python@v2
1717
with:
1818
python-version: '3.x'
19-
- name: Lint with flake8
20-
run: |
21-
pip install flake8
22-
flake8 .
19+
# - name: Lint with flake8
20+
# run: |
21+
# pip install flake8
22+
# flake8 .
23+
- name: Lintly-Flake8
24+
uses: grantmcconnaughey/lintly-flake8-github-action@v1.0

0 commit comments

Comments
 (0)