def pydocstyle_color(score):
<EOL>score_cutoffs = (<NUM_LIT:0>, <NUM_LIT:10>, <NUM_LIT>, <NUM_LIT:50>, <NUM_LIT:100>)<EOL>for i in range(len(score_cutoffs)):<EOL><INDENT>if score <= score_cutoffs[i]:<EOL><INDENT>return BADGE_COLORS[i]<EOL><DEDENT><DEDENT>return BADGE_COLORS[-<NUM_LIT:1>]<EOL>
Return pydocstyle badge color.

    Parameters
    ----------
    score : float
        A pydocstyle score

    Returns
    -------
    str
        Badge color