Update QMetric.py

instead of dataframe, i give instance of GitData to SWQuality.