The following script fixes super()
calls after migration from Python 2 to Python 3.
The script edits the code automatically. Upon completion, the following steps are recommended:
- Search for the regex
super\([^\)]
and fix manually those places (if needed) - Search for the regex
super\(\s[^\)]
and fix manually those places (if needed) - Run Flake8 and manually fix styling problems