Our codebase still contains legacy Python 2 patterns, even though Python 2 is now end-of-life. For instance, explicit inheritance from object is redundant in Python 3. Also, while we could replace typing imports (e.g., List, Dict) with built-in generics (list, dict) since we're on Python 3.9+. Project already requires Python 3.10+. What do you think about a small refactoring? I’d like to work on it.
Our codebase still contains legacy Python 2 patterns, even though Python 2 is now end-of-life. For instance, explicit inheritance from
objectis redundant in Python 3. Also, while we could replace typing imports (e.g.,List,Dict) with built-in generics (list, dict) since we're on Python 3.9+. Project already requires Python 3.10+. What do you think about a small refactoring? I’d like to work on it.