Skip to content

Commit

Permalink
Configure isort settings in pyproject.toml and remove tool.setuptools
Browse files Browse the repository at this point in the history
  • Loading branch information
waynehamadi committed Apr 17, 2023
1 parent 254cd69 commit 3134beb
Showing 1 changed file with 28 additions and 3 deletions.
31 changes: 28 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,32 @@ readme = "README.md"
line-length = 88
target-version = ['py310']
include = '\.pyi?$'
extend-exclude = ""

[tool.setuptools]
packages = ["autogpt"]
extend-exclude = '.+/(dist|.venv|venv|build)/.+'


[tool.isort]
profile = "black"
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 88
sections = [
"FUTURE",
"STDLIB",
"THIRDPARTY",
"FIRSTPARTY",
"LOCALFOLDER"
]
skip = '''
.tox
__pycache__
*.pyc
.env
venv*/*
.venv/*
reports/*
dist/*
'''

0 comments on commit 3134beb

Please sign in to comment.