-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathruff.toml
43 lines (34 loc) · 829 Bytes
/
ruff.toml
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
line-length = 88
target-version = "py39"
lint.select = [
"E4", "E7", "E9", "F", "I", "B", "C4", "UP"
]
lint.ignore = []
force-exclude = true
exclude = [
".git",
".mypy_cache",
".ruff_cache",
".venv",
"__pycache__",
"build",
"dist",
]
[lint.isort]
lines-after-imports = 2
known-first-party = ["telegram_ai_agent"]
lines-between-types = 1
case-sensitive = true
force-wrap-aliases = true
combine-as-imports = true
default-section = "third-party"
[format]
docstring-code-format = true
# Like Black, use double quotes for strings.
quote-style = "double"
# Like Black, indent with spaces, rather than tabs.
indent-style = "space"
# Like Black, respect magic trailing commas.
skip-magic-trailing-comma = false
# Like Black, automatically detect the appropriate line ending.
line-ending = "auto"