Standardize ruff config: line-length=88, select=E,F,I,W #212
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/basketball-api#212
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Feature
Lineage
Repo
forgejo_admin/basketball-apiUser Story
As a platform operator, I want this repo's ruff config aligned to the platform standard (line-length=88, select=E,F,I,W) so all Python repos enforce the same formatting rules.
Context
Platform standard decided 2026-03-28: line-length=88 (ruff/Black default), lint rules E,F,I,W only.
File Targets
pyproject.toml— update[tool.ruff]section:line-length = 88,select = ["E", "F", "I", "W"].pre-commit-config.yaml— add ruff pre-commit hook if not presentAcceptance Criteria
line-length = 88andselect = ["E", "F", "I", "W"]ruff check .passes cleanruff format --check .passes cleanTest Expectations
ruff check .— zero violationsruff format --check .— all files formattedConstraints
ruff format .if needed to align existing codeChecklist
Related
forgejo_admin/pal-e-platform#29— parent tracking issue