I ran radon cc -s myFile.py
to calculate Cyclo metrics for it, I have pasted part of the result below
...
(more stuff)
C 37:0 MyClass - A (3)
M 40:4 MyClass.letter - A (2)
M 47:4 MyClass.fullname - A (2)
M 58:4 MyClass.__str__ - A (1)
...
(more stuff)
The Documentation for Radon doesn't specify how the metric will be calculated for class particularly. For me, it doesn't make sense for a class to have cyclomatic complexity as it doesn't represent a code flow by itself like a method or a function would do , and even if there was I would expect the Cyclomatic complexity for the class to be the sum of CCs for its methods, which is clearly not the case here.