I recently started using code formatting (with black), style guide enforcement (with flake8) and static code checks (with mypy). I tried to apply them to MDAnalysis for fun and came across to many warnings.
Describe the solution you'd like
I think it would be great to format MDA with black (or other tools) and then use flake8 and mypy (or other tools) to spot and fix possible problems.
Describe alternatives you've considered
There are other tools that can be considered: pylint, isort, ypaf, ...
Additional context
Many errors come from MDAnalysis/migration/.
You can have a look at this commit to see the result of automatic code formatting with black.