Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

Update CI workflow to use flake8, black, and isort formatting checks

Merwane Hamadi254cd6974881
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 39f3aea959..0a9a928779 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -32,7 +32,15 @@ jobs:
- name: Lint with flake8
continue-on-error: false
- run: flake8 autogpt/ tests/ --select E303,W293,W291,W292,E305,E231,E302
+ run: flake8
+
+ - name: Check black formatting
+ continue-on-error: false
+ run: black . --check
+
+ - name: Check isort formatting
+ continue-on-error: false
+ run: isort . --check
- name: Run unittest tests with coverage
run: |