mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-01-09 07:08:09 -05:00
fix: Add data directory to lint exclusion list
- Add data directory to exclusion list in `.flake8` configuration file - Ignore agent-generated python files while linting in `pyproject.toml` file
This commit is contained in:
@@ -108,7 +108,7 @@ line-length = 88
|
||||
target-version = ['py310']
|
||||
include = '\.pyi?$'
|
||||
packages = ["autogpt"]
|
||||
extend-exclude = '.+/(dist|.venv|venv|build)/.+'
|
||||
extend-exclude = '.+/(dist|.venv|venv|build|data)/.+'
|
||||
|
||||
|
||||
[tool.isort]
|
||||
|
||||
Reference in New Issue
Block a user