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:
1
.flake8
1
.flake8
@@ -9,3 +9,4 @@ exclude =
|
|||||||
.venv/*,
|
.venv/*,
|
||||||
reports/*,
|
reports/*,
|
||||||
dist/*,
|
dist/*,
|
||||||
|
data/*,
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ line-length = 88
|
|||||||
target-version = ['py310']
|
target-version = ['py310']
|
||||||
include = '\.pyi?$'
|
include = '\.pyi?$'
|
||||||
packages = ["autogpt"]
|
packages = ["autogpt"]
|
||||||
extend-exclude = '.+/(dist|.venv|venv|build)/.+'
|
extend-exclude = '.+/(dist|.venv|venv|build|data)/.+'
|
||||||
|
|
||||||
|
|
||||||
[tool.isort]
|
[tool.isort]
|
||||||
|
|||||||
Reference in New Issue
Block a user