Skip to content

A live bird collage card for your Home Assistant dashboard.

Removing diff from flake8 lint CI

Jake Herbst166ca7fcf89f
diff --git a/.github/workflows/python-ci.yml b/.github/workflows/python-ci.yml
index e918979d..84c62cba 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