mirror of
https://github.com/aljazceru/gpt-engineer.git
synced 2026-02-15 18:15:35 +01:00
60 lines
991 B
TOML
60 lines
991 B
TOML
# https://beta.ruff.rs/docs/configuration/#using-rufftoml
|
|
[tool.ruff]
|
|
select = ["F", "E", "W", "I001"]
|
|
line-length = 90
|
|
show-fixes = false
|
|
target-version = "py311"
|
|
task-tags = ["TODO", "FIXME"]
|
|
exclude = [
|
|
".bzr",
|
|
".direnv",
|
|
".eggs",
|
|
".git",
|
|
".ruff_cache",
|
|
".svn",
|
|
".tox",
|
|
".venv",
|
|
"__pypackages__",
|
|
"_build",
|
|
"buck-out",
|
|
"build",
|
|
"dist",
|
|
"node_modules",
|
|
"venv",
|
|
]
|
|
|
|
[tool.ruff.isort]
|
|
known-first-party = []
|
|
known-third-party = []
|
|
section-order = [
|
|
"future",
|
|
"standard-library",
|
|
"third-party",
|
|
"first-party",
|
|
"local-folder",
|
|
]
|
|
combine-as-imports = true
|
|
split-on-trailing-comma = false
|
|
lines-between-types = 1
|
|
|
|
# https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html
|
|
[tool.black]
|
|
line-length = 90
|
|
target-version = ["py311"]
|
|
include = '\.pyi?$'
|
|
exclude = '''
|
|
(
|
|
/(
|
|
\.direnv
|
|
| \.eggs
|
|
| \.git
|
|
| \.tox
|
|
| \.venv
|
|
| _build
|
|
| build
|
|
| dist
|
|
| venv
|
|
)/
|
|
)
|
|
'''
|