Description
As part of the ongoing extraction of the Problem XBlock into xblocks-contrib/problem, we need to align pylint fixes in edx-platform with the fixes already applied in the extracted block.
The extracted problem XBlock has had pylint warnings and errors addressed using consistent patterns and conventions. Applying the same fixes in edx-platform will reduce noise in the extraction diff and make it easier for reviewers to focus on functional changes during migration.
This issue focuses only on pylint-related fixes, not functional changes or broader refactors.
Acceptance Criteria
- No functional or behavioral changes
- Pylint warnings/errors match or are consistent with
xblocks-contrib/problem
- All CI checks pass
Context
We are in the process of extracting the Problem XBlock from edx-platform into xblocks-contrib/problem, where pylint issues have already been cleaned up.
By aligning pylint fixes ahead of time in edx-platform, we reduce review churn and ensure the extraction PR contains only meaningful, functional differences.