6efdfbe194
CI/CD Pipeline / Check if frontend-only change (push) Has been skipped
CI/CD Pipeline / PR Build API Image (push) Has been skipped
CI/CD Pipeline / PR Build Web Image (push) Has been skipped
CI/CD Pipeline / PR Build Worker Image (push) Has been skipped
CI/CD Pipeline / Frontend Lint (push) Successful in 42s
CI/CD Pipeline / Validate - Migration (alembic) (push) Successful in 1m13s
CI/CD Pipeline / Validate - Type Check (mypy) (push) Successful in 1m19s
CI/CD Pipeline / Build Staging Web Image (push) Successful in 1m19s
CI/CD Pipeline / Build Staging API Image (push) Failing after 1m33s
CI/CD Pipeline / Build Staging Worker Image (push) Failing after 1m6s
CI/CD Pipeline / Build Production API Image (push) Failing after 50s
CI/CD Pipeline / Frontend Unit Tests (push) Failing after 1m10s
CI/CD Pipeline / Build Production Web Image (push) Failing after 16s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 16s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Validate - Code Quality (push) Successful in 4m50s
CI/CD Pipeline / Staging E2E Tests (push) Has been skipped
CI/CD Pipeline / Staging API Integration Tests (push) Has been skipped
CI/CD Pipeline / ACR Image Cleanup (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Canary Release to Production (push) Has been skipped
CI/CD Pipeline / Unit Tests (push) Successful in 5m38s
CI/CD Pipeline / Integration Tests (push) Successful in 4m56s
CI/CD Pipeline / CI Gate (push) Has been skipped
50 lines
860 B
TOML
50 lines
860 B
TOML
[tool.black]
|
||
line-length = 120
|
||
target-version = ["py312"]
|
||
|
||
[tool.isort]
|
||
profile = "black"
|
||
line_length = 120
|
||
|
||
[tool.ruff]
|
||
target-version = "py311"
|
||
line-length = 120
|
||
exclude = [
|
||
".git",
|
||
"__pycache__",
|
||
".venv",
|
||
"venv",
|
||
"node_modules",
|
||
"alembic",
|
||
".gitea",
|
||
".next",
|
||
"dist",
|
||
"build",
|
||
"hostexecutor",
|
||
]
|
||
|
||
[tool.ruff.lint]
|
||
select = [
|
||
"E", # pycodestyle errors(同 flake8 默认)
|
||
"F", # pyflakes(同 flake8 默认)
|
||
]
|
||
ignore = [
|
||
"E203",
|
||
"E501", # line-too-long(black管)
|
||
"E302",
|
||
"E402", # module-import-not-at-top(循环导入多)
|
||
"E722", # bare-except
|
||
"W291",
|
||
"W293",
|
||
"F401",
|
||
"F403",
|
||
"F405",
|
||
"F841",
|
||
]
|
||
|
||
[tool.ruff.lint.per-file-ignores]
|
||
"__init__.py" = ["F401", "F403", "F405"]
|
||
"tests/**" = ["E402", "F401", "F821", "F841"]
|
||
"packages/ports/*" = ["E301"]
|
||
"apps/api/app/api/routes/auth.py" = ["ALL"]
|