def fix_line_range(source_code, start, end, options):
<EOL>start = max(start, <NUM_LIT:1>)<EOL>options.line_range = [start, end]<EOL>from autopep8 import fix_code<EOL>fixed = fix_code(source_code, options)<EOL>try:<EOL><INDENT>if options.docformatter:<EOL><INDENT>from docformatter import format_code<EOL>fixed = format_code(<EOL>fixed,<EOL>summary_wrap_length=options.max_line_length - <NUM_LIT:1>,<EOL>description_wrap_length=(options.max_line_length<EOL>- <NUM_LIT:2> * options.indent_size),<EOL>pre_summary_newline=options.pre_summary_newline,<EOL>post_description_blank=options.post_description_blank,<EOL>force_wrap=options.force_wrap,<EOL>line_range=[start, end])<EOL><DEDENT><DEDENT>except AttributeError:  <EOL><INDENT>pass<EOL><DEDENT>return fixed<EOL>
Apply autopep8 (and docformatter) between the lines start and end of
    source.