DCSCalculator2: Move flake8 checking to install step.
Move flake8 checking from test to install to avoid timeouts. Fix some warnings that were suppressed earlier.
Move flake8 checking from test to install to avoid timeouts. Fix some warnings that were suppressed earlier.