Removing diff from flake8 lint CI

This commit is contained in:
Jake Herbst
2022-05-24 12:38:16 -04:00
parent 7761f83988
commit 166ca7fcf8
+1 -5
View File
@@ -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