Skip to content

Conversation

@DimitriPapadopoulos
Copy link
Contributor

@DimitriPapadopoulos DimitriPapadopoulos commented Dec 10, 2025

Companion to #124 and #214.

Apply rule UP036, it implies lots of manual changes and requires extra care.

Needs #214 to be applied first.

DimitriPapadopoulos and others added 6 commits December 1, 2025 09:37
UP004 Class inherits from `object`
UP008 Use `super()` instead of `super(__class__, self)`
UP009 UTF-8 encoding declaration is unnecessary
UP010 Unnecessary `__future__` import for target Python version

Manually removed comments about Unicode literals.
In Python 3, `io.open` is an alias for `open`.

This is a manual change, not detected by ruff.
UP036 Version block is outdated for minimum Python version

Lots of manual fixes here, in order to discard Python 2 aliases.

Co-authored-by: Matti Picus <[email protected]>
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.

1 participant