1e840057cb
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 1m20s
CI/CD Pipeline / Frontend Lint (push) Successful in 2m31s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Has been skipped
CI/CD Pipeline / Staging API Integration Tests (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
fix(ci): 修复 Validate job — black 格式化 + isort 排序 + .cache 排除 + celery mock 路径修复
40 lines
554 B
TOML
40 lines
554 B
TOML
[tool.black]
|
|
line-length = 120
|
|
target-version = ["py312"]
|
|
extend-exclude = '''
|
|
(
|
|
\.git
|
|
| \.cache
|
|
| \.pytest_cache
|
|
| \.mypy_cache
|
|
| __pycache__
|
|
| node_modules
|
|
| \.venv
|
|
| venv
|
|
| build
|
|
| dist
|
|
| \.next
|
|
| out
|
|
| coverage
|
|
)
|
|
'''
|
|
|
|
[tool.isort]
|
|
profile = "black"
|
|
line_length = 120
|
|
extend_skip_glob = [
|
|
".git/**",
|
|
".cache/**",
|
|
".pytest_cache/**",
|
|
".mypy_cache/**",
|
|
"__pycache__/**",
|
|
"node_modules/**",
|
|
".venv/**",
|
|
"venv/**",
|
|
"build/**",
|
|
"dist/**",
|
|
".next/**",
|
|
"out/**",
|
|
"coverage/**",
|
|
]
|