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.

ci: Add a flake8 linting job

Drikus Roordc0a94bba365
diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml
index 5973dd029a..dda45e6c17 100644
--- a/.github/workflows/unit_tests.yml
+++ b/.github/workflows/unit_tests.yml
@@ -30,6 +30,9 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements.txt
+ - name: Lint with flake8
+ run: flake8 scripts/ tests/
+
- name: Run unittest tests with coverage
run: |
coverage run --source=scripts -m unittest discover tests
diff --git a/requirements.txt b/requirements.txt
index b196c3d788..b864c1d3e8 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -15,4 +15,5 @@ pinecone-client==2.2.1
redis
orjson
Pillow
-coverage
\ No newline at end of file
+coverage
+flake8
\ No newline at end of file