Skip to content

Building AI agents, atomically

--exit-zero removed from .github/workflows/python-package.yml and .flake8

w3bwizarta542e1dcf502
diff --git a/.flake8 b/.flake8
index 63950c3..87ce56c 100644
--- a/.flake8
+++ b/.flake8
@@ -2,6 +2,5 @@
max-line-length = 127
max-complexity = 10
count = true
-exit-zero = true
statistics = true
exclude = .venv
diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml
index 102d0f7..5bf3c69 100644
--- a/.github/workflows/python-package.yml
+++ b/.github/workflows/python-package.yml
@@ -37,8 +37,8 @@ jobs:
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 atomic_agents --count --select=E9,F63,F7,F82 --show-source --statistics
- # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
- flake8 atomic_agents --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
+ # The GitHub editor is 127 chars wide
+ flake8 atomic_agents --count --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
pytest --import-mode=importlib --cov atomic_agents
\ No newline at end of file