Skip to content

Conversation

@gudnimg
Copy link
Contributor

@gudnimg gudnimg commented Nov 29, 2025

  1. There is no need to set file encoding unless its not utf-8 (See https://docs.python.org/3/reference/lexical_analysis.html#encoding-declarations)
  2. Calls to super() may omit the class name in Python 3. On Python 2 these were required.

No change in functionality.

1. There is no need to set file encoding unless its not utf-8
2. Class definitions may omit (object) in Python 3
@gudnimg gudnimg force-pushed the gudni-python2-cleanup branch from 1cc3aec to fe34ef3 Compare November 29, 2025 17:40
@gudnimg
Copy link
Contributor Author

gudnimg commented Nov 29, 2025

Rebased, pushed formatting fixes for CI.

@dlech dlech merged commit 4aacc2f into hbldh:develop Nov 29, 2025
16 checks passed
@dlech
Copy link
Collaborator

dlech commented Nov 29, 2025

Thanks!

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