Module Import alias Import alias ImportFrom alias ImportFrom alias Assign NameStore TupleLoad TupleLoad Str Num Str TupleLoad Str Num Str TupleLoad Str Num Str TupleLoad Str Num Str TupleLoad Str Num Str TupleLoad Str Num Str TupleLoad Str Num Str TupleLoad Str Num Str TupleLoad Str Num Str TupleLoad Str Num Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Assert CompareEq Call NameLoad ListLoad NameLoad NameLoad Assert CompareEq Call AttributeLoad Call NameLoad NameLoad Str attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str Str Str NameLoad FunctionDef arguments args defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Str Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Str Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Str Assert CompareGt NameLoad NameLoad Assert CompareLt NameLoad NameLoad Assert CompareGt NameLoad NameLoad Assert CompareLt NameLoad NameLoad decorator_list
N/A N/A os.path N/A pytest pre_commit_hooks.requirements_txt_fixer fix_requirements_txt pre_commit_hooks.requirements_txt_fixer Requirement N/A TESTS N/A N/A foo
bar
 1 bar
foo
 N/A bar
foo
 0 bar
foo
 N/A #comment1
foo
#comment2
bar
 1 #comment2
bar
#comment1
foo
 N/A #comment1
bar
#comment2
foo
 0 #comment1
bar
#comment2
foo
 N/A #comment

foo
bar
 1 #comment

bar
foo
 N/A #comment

bar
foo
 0 #comment

bar
foo
 N/A 
foo
bar
 1 bar

foo
 N/A 
bar
foo
 0 
bar
foo
 N/A pyramid==1
pyramid-foo==2
 0 pyramid==1
pyramid-foo==2
 N/A ocflib
Django
PyMySQL
 1 Django
ocflib
PyMySQL
 test_integration N/A N/A input_s expected_retval output tmpdir N/A N/A N/A path N/A N/A N/A os path join N/A tmpdir strpath file.txt N/A N/A open path wb file_obj N/A N/A N/A N/A file_obj write input_s N/A N/A N/A fix_requirements_txt N/A path expected_retval N/A N/A N/A N/A N/A open path rb read output N/A N/A N/A N/A pytest mark parametrize N/A input_s expected_retval output TESTS test_requirement_object N/A N/A N/A N/A N/A top_of_file N/A Requirement N/A N/A N/A N/A top_of_file comments append #foo N/A N/A top_of_file value N/A requirement_foo N/A Requirement N/A N/A requirement_foo value foo N/A requirement_bar N/A Requirement N/A N/A requirement_bar value bar N/A N/A requirement_foo top_of_file N/A N/A top_of_file requirement_foo N/A N/A requirement_foo requirement_bar N/A N/A requirement_bar requirement_foo N/A