cli-weather icon indicating copy to clipboard operation
cli-weather copied to clipboard

[RFE] Across: Add method description to all methods inside the cli-weather build

Open vatsa287 opened this issue 4 years ago • 0 comments

Request For Enhancement:

This feature would be useful for all hovers on methods on Text Editors. Give a good description of what the method does in brief. First time contributors will be able to make this a Git practice.

Example:

from:

def get_basic_temparature(main_data, degree):
    data = main_data['data']
    city = data[0]['city_name']
    print("Current temparature in {} is {} {}" .format(city.capitalize(), data[0]['temp'], degree))

to:

def get_basic_temparature(main_data, degree):
    """ Display the current temperature with corresponding city name """
    data = main_data['data']
    city = data[0]['city_name']
    print("Current temparature in {} is {} {}" .format(city.capitalize(), data[0]['temp'], degree))

vatsa287 avatar Nov 22 '20 14:11 vatsa287