mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-17 05:54:26 +01: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