-
Notifications
You must be signed in to change notification settings - Fork 92
Expand file tree
/
Copy pathpyproject.toml
More file actions
43 lines (40 loc) · 1.08 KB
/
pyproject.toml
File metadata and controls
43 lines (40 loc) · 1.08 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
# SPDX-FileCopyrightText: 2025 Weibo, Inc.
#
# SPDX-License-Identifier: Apache-2.0
# Root-level pyproject.toml for shared tool configurations
# This ensures consistent formatting when running black/isort from the root directory
[tool.black]
line-length = 88
target-version = ['py310']
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| venv
| _build
| buck-out
| build
| dist
| alembic
| node_modules
| frontend
)/
'''
[tool.isort]
profile = "black"
line_length = 88
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
skip = ["alembic", ".venv", "venv", "node_modules", "frontend"]
skip_gitignore = true
# Known first-party packages for each module
# This ensures correct import sorting when running from root directory
known_first_party = ["app", "agents", "executors", "scheduler", "chat_shell", "shared", "clients", "common", "config", "callback", "code_server", "github", "models", "routers", "services", "tasks", "utils", "db", "telemetry"]