enable ruff rule: unnecessary-placeholder (PIE790) #9183
Labels
Affects: Developers
Affects: Documentation
Issues related to developer or ops or data documentation. [managed]
Lead: @scottbarnes
Issues overseen by Scott (Community Imports)
Priority: 3
Issues that we can consider at our leisure. [managed]
Problem
Is is on by default for ruff but we have it disabled.
Is there a reason why? If not, it is auto-fixable with ruff and we have 12 instances of it in our code.
The benefit is cleaner/less code and possibly finding a few functions we can delete.
Evidence / Screenshot
Relevant URL(s)
https://docs.astral.sh/ruff/rules/unnecessary-placeholder/
openlibrary/pyproject.toml
Line 52 in 01d693d
Reproducing the bug
Context
Notes from this Issue's Lead
Proposal & constraints
Related files
Stakeholders
The text was updated successfully, but these errors were encountered: