Update code_quality/analyze.py

cleaned code