snu-quiqcl / qiwis

QuIqcl Widget Integration Software
MIT License
5 stars 2 forks source link

[REFACTOR] Modify docstring in swift.swift #128

Closed BECATRUE closed 1 year ago

BECATRUE commented 1 year ago

In swift.swift.parse(), the multiline docstring is indented in four spaces.

Let's modify it to 2 spaces indentation to fit our convention.

"""Returns a new cls instance from a JSON string.

This is a convenience function for just unpacking the JSON string and gives them
as keyword arguments of the constructor of cls.

Args:
    cls: A class object.
    kwargs: A JSON string of a dictionary that contains the keyword arguments of cls.
        Positional arguments should be given with the argument names, just like
        the other keyword arguments.
        There must not exist arguments which are not in cls constructor.
"""
kangz12345 commented 1 year ago

Oops, good point!