Add flake8 linter in CI
What does this MR do and why?
Implement flake8 linter for python scripts and fix the issues
Related reference(s)
close #1183
Test coverage
Edited by Loic Nicolle
Implement flake8 linter for python scripts and fix the issues
close #1183