KOSASIH / Galactic-Chain

Consider decorating method with @staticmethod PYL-R0201
Performance
Major
1 occurrence in this check
Method doesn't use the class instance and could be converted into a static method
39        y = int(y, 16)
40        return self.curve.point(x, y)
41
42    def encode_point(self, point):43        x = format(point.x, "x")
44        y = format(point.y, "x")
45        return f"{x},{y}"