aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Reinier van der Leer <pwuts@agpt.co> 2024-05-07 13:30:10 +0200
committerGravatar Reinier van der Leer <pwuts@agpt.co> 2024-05-07 13:30:10 +0200
commite9b3b5090c26a8129a755d2f13f44533449e3ae2 (patch)
treec879f0b79c8afdd9836e87325e8b7714f3d5656a
parentfeat(agent/scripts): Add git_log_to_release_notes.py (diff)
downloadAuto-GPT-e9b3b5090c26a8129a755d2f13f44533449e3ae2.tar.gz
Auto-GPT-e9b3b5090c26a8129a755d2f13f44533449e3ae2.tar.bz2
Auto-GPT-e9b3b5090c26a8129a755d2f13f44533449e3ae2.zip
lint(agent): Add `flake8` to pre-commit checks
-rw-r--r--autogpts/autogpt/.pre-commit-config.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/autogpts/autogpt/.pre-commit-config.yaml b/autogpts/autogpt/.pre-commit-config.yaml
index d2a061a4d..955d49fa3 100644
--- a/autogpts/autogpt/.pre-commit-config.yaml
+++ b/autogpts/autogpt/.pre-commit-config.yaml
@@ -22,6 +22,11 @@ repos:
- id: black
language_version: python3.10
+ - repo: https://github.com/PyCQA/flake8
+ rev: 7.0.0
+ hooks:
+ - id: flake8
+
# - repo: https://github.com/pre-commit/mirrors-mypy
# rev: 'v1.3.0'
# hooks: