No blank lines allowed after function docstring
186
187 @staticmethod
188 def map_gender(gender):
189 """ Map gender to correct value. """190
191 if gender == 'male':
192 return issuers.Gender.MALE
No blank lines allowed after function docstring
173
174 @staticmethod
175 def map_age(age):
176 """ Map age to correct age-group. """177
178 if age in [None, '']:
179 return issuers.AgeGroup.UNKNOWN
Description
There shouldn't be any blank lines after the function docstring. Remove the blank lines to fix this issue.
Not preferred:
def example():
'''Bad docstring.'''
pass
Preferred:
def example():
'''Good docstring.'''
pass