Skip to content

Conversation

@cclauss
Copy link
Contributor

@cclauss cclauss commented Aug 9, 2025

Description

Fixes:

Upgrade the Python linter ruff in pre-commit by:

Changes

Fix three redefinitions (the last defined persists in Python).

Checklist

  • I have checked make build works locally.
  • I have created / updated documentation for this change (if applicable).

Copy link
Contributor

@WebReflection WebReflection left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to whom it might concern, and for history sake, we have branches around different runtimes so that such "unreasonable" rule is unreasonable to us because we cannot import non existent modules, or modules that are different, in MicroPython and/or Pyodide and vice-versa, since our goal is to try to simplify divergent logic and converge as much as we can.

@WebReflection WebReflection merged commit 4bf3651 into pyscript:main Aug 18, 2025
2 checks passed
@cclauss cclauss deleted the pre-commit-upgrade-ruff-linter branch August 18, 2025 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants