Removing diff from flake8 lint CI
This commit is contained in:
@@ -13,9 +13,6 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
|
||||||
# This is a bit heavy handed, but we need `origin/main` to get a ref to diff against
|
|
||||||
fetch-depth: 0
|
|
||||||
|
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
uses: actions/setup-python@v3
|
uses: actions/setup-python@v3
|
||||||
@@ -29,5 +26,4 @@ jobs:
|
|||||||
|
|
||||||
- name: Run Flake8 Lint
|
- name: Run Flake8 Lint
|
||||||
run: |
|
run: |
|
||||||
DIFF="$(git --no-pager diff -u $(git merge-base HEAD origin/main) -- '**/*.py')"
|
flake8
|
||||||
echo "$DIFF" | flake8 --diff
|
|
||||||
|
|||||||
Reference in New Issue
Block a user