Running Tests
To run all tests, use the following command:
pytestIf pytest is not found:
python -m pytestRunning specific test suites
To run without integration tests:
pytest --without-integrationTo run without slow integration tests:
pytest --without-slow-integrationTo run tests and see coverage:
pytest --cov=autogpt --without-integration --without-slow-integrationRunning the linter
This project uses flake8 for linting. We currently use the following rules: E303,W293,W291,W292,E305,E231,E302. See the flake8 rules for more information.
To run the linter:
flake8 .Or:
python -m flake8 .Last updated
Was this helpful?