Skip to content

A live bird collage card for your Home Assistant dashboard.

do not override line lenght

frederikb0c4d0a74cb9
diff --git a/.flake8 b/.flake8
index 1fd48933..0d31440c 100644
--- a/.flake8
+++ b/.flake8
@@ -1,2 +1,3 @@
[flake8]
max-line-length = 160
+max-complexity = 15
diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml
index e3640453..f7e80022 100644
--- a/.github/workflows/python-app.yml
+++ b/.github/workflows/python-app.yml
@@ -5,7 +5,7 @@ name: Python application
on:
push:
- branches: [ "main" ]
+ branches: [ "main", "test_me" ]
pull_request:
branches: [ "main" ]
@@ -32,8 +32,8 @@ jobs:
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
- # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
+ # exit-zero treats all errors as warnings.
+ flake8 . --count --exit-zero --max-complexity=10 --statistics
- name: Test with pytest
run: |
pytest