target-version = "py310"
line-length = 100
exclude = [
".git",
".ruff_cache",
".venv",
"__pycache__",
"build",
"dist",
]
[format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
"ARG", # flake8-unused-arguments
"SIM", # flake8-simplify
]
ignore = [
"E501", # line too long (handled by formatter)
"B008", # do not perform function calls in argument defaults
"E402", # module level import not at top of file (needed for dotenv loading)
]
[lint.isort]
known-first-party = ["core", "tools", "prompts"]