hugapi / hug

Embrace the APIs of the future. Hug aims to make developing APIs as simple as possible, but no simpler.
MIT License
6.86k stars 388 forks source link

Inconsistent indentation #920

Open Sahithiaele opened 9 months ago

Sahithiaele commented 9 months ago

noticed inconsistent indentation in the file happy_birthday.py. Specifically, on lines 7 and 8:

There are currently spaces before these lines, but it seems they should have zero indentation.

`"""A basic (single function) API written using Hug""" import hug

@hug.get("/happy_birthday", examples="name=HUG&age=1") def happy_birthday(name, age: hug.types.number): """Says happy birthday to a user""" return "Happy {age} Birthday {name}!".format(**locals()) `