Skip to content

Inconsistent indentation #920

Description

@Sahithiaele

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())
`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions