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
37        y = int(y, 16)
38        return self.curve.point(x, y)
39
40    def encode_point(self, point):41        x = format(point.x, "x")
42        y = format(point.y, "x")
43        return f"{x},{y}"