Apply ruff standard (convention-python-ruff-standard) #8
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/gmail-mcp#8
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
chore
Lineage
Parent: pal-e-platform#244
Repo
forgejo_admin/gmail-mcp
User Story
As a developer, I want gmail-mcp to use the platform-standard ruff config so that formatting and linting are consistent across all repos.
Context
The convention-python-ruff-standard requires line-length=88, target-version="py312", select=["E","F","I","W"]. gmail-mcp currently uses line-length=120, target-version="py310". Needs alignment plus .pre-commit-config.yaml.
File Targets
pyproject.toml— update ruff config.pre-commit-config.yaml— create with ruff hookssrc/**/*.py— reformat to line-length=88tests/**/*.py— reformat to line-length=88Acceptance Criteria
ruff format --check .passesruff check .passesTest Expectations
ruff format --check .exits 0ruff check .exits 0Constraints
Checklist
Related