From 166ca7fcf89f7fe0e2c31e6d420c5c4f60917c6a Mon Sep 17 00:00:00 2001 From: Jake Herbst Date: Tue, 24 May 2022 12:38:16 -0400 Subject: [PATCH] Removing diff from flake8 lint CI --- .github/workflows/python-ci.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/python-ci.yml b/.github/workflows/python-ci.yml index e918979..84c62cb 100644 --- a/.github/workflows/python-ci.yml +++ b/.github/workflows/python-ci.yml @@ -13,9 +13,6 @@ jobs: steps: - name: Checkout 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 uses: actions/setup-python@v3 @@ -29,5 +26,4 @@ jobs: - name: Run Flake8 Lint run: | - DIFF="$(git --no-pager diff -u $(git merge-base HEAD origin/main) -- '**/*.py')" - echo "$DIFF" | flake8 --diff + flake8