-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathruff.toml
More file actions
57 lines (50 loc) · 1.04 KB
/
ruff.toml
File metadata and controls
57 lines (50 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
exclude = [
".ai/",
".github/",
".git/",
".idea/",
"__pycache__",
"*.egg-info",
".mypy_cache",
".pytest_cache",
".tox",
".venv",
"venv",
"build",
"dist",
"docs_with_docusarus",
"docs",
]
line-length = 120
indent-width = 4
target-version = "py312"
[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
"C901", # too complex
"ARG001", # unused function argument
]
[lint.per-file-ignores]
"__init__.py" = ["F401"]
"test/**/*.py" = ["S101"]
[lint.isort]
known-first-party = ["agent_assembly"]
[format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[lint.pydocstyle]
convention = "google"