Skip to content

Commit

Permalink
fix: Add data directory to lint exclusion list
Browse files Browse the repository at this point in the history
- Add data directory to exclusion list in `.flake8` configuration file
- Ignore agent-generated python files while linting in `pyproject.toml` file
  • Loading branch information
Pwuts committed Nov 16, 2023
1 parent 0b3aea9 commit c4494d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ exclude =
.venv/*,
reports/*,
dist/*,
data/*,
2 changes: 1 addition & 1 deletion autogpts/autogpt/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit c4494d8

Please sign in to comment.