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.
lint: Add rule E231 to the flake8 linting job
Drikus Roor8ff36bb8ba56
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 070df794b9..de21400576 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -32,7 +32,7 @@ jobs:- name: Lint with flake8continue-on-error: false- run: flake8 scripts/ tests/ --select E303,W293,W291,W292,E305+ run: flake8 scripts/ tests/ --select E303,W293,W291,W292,E305,E231- name: Run unittest tests with coveragerun: |diff --git a/README.md b/README.mdindex b5d9ac4ec5..82d489b13e 100644--- a/README.md+++ b/README.md@@ -342,7 +342,7 @@ coverage run -m unittest discover tests## Run linter-This project uses [flake8](https://flake8.pycqa.org/en/latest/) for linting. We currently use the following rules: `E303,W293,W291,W292,E305`. See the [flake8 rules](https://www.flake8rules.com/) for more information.+This project uses [flake8](https://flake8.pycqa.org/en/latest/) for linting. We currently use the following rules: `E303,W293,W291,W292,E305,E231`. See the [flake8 rules](https://www.flake8rules.com/) for more information.To run the linter, run the following command:@@ -350,5 +350,5 @@ To run the linter, run the following command:flake8 scripts/ tests/# Or, if you want to run flake8 with the same configuration as the CI:-flake8 scripts/ tests/ --select E303,W293,W291,W292,E305-```+flake8 scripts/ tests/ --select E303,W293,W291,W292,E305,E231+```\ No newline at end of file