Refactor the code of osccore-qa-testing-tools  to comply with PEP8.

Related-prod: PRODX-42195
Change-Id: Id05e7584e0d024127ce1bd5042cfe681a1b52e2d
diff --git a/tox.ini b/tox.ini
index 7ed5f88..969d416 100644
--- a/tox.ini
+++ b/tox.ini
@@ -7,5 +7,7 @@
 envdir={toxworkdir}/pep8
 deps =
     black
+    flake8
 commands =
-    black daily_jenkins_job_report log_helper parcing_testrail_results save_jenkins_console tempest_tests_resources testrail_bot testrail_upload_suites update_testrail_xml upload2testrail_docker  -l 79 --diff
+    flake8 --ignore=E203,W605,W503 --max-line-length 79 daily_jenkins_job_report log_helper parcing_testrail_results save_jenkins_console tempest_tests_resources testrail_bot testrail_upload_suites update_testrail_xml upload2testrail_docker
+    black daily_jenkins_job_report log_helper parcing_testrail_results save_jenkins_console tempest_tests_resources testrail_bot testrail_upload_suites update_testrail_xml upload2testrail_docker --line-length 79 --diff --check