Module Import alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam defaults body With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Expr Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Expr Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Return NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assert CompareEq Call NameLoad ListLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr Num Assert CompareEq Call NameLoad ListLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr Num Assert CompareEq Call NameLoad ListLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Num Assert CompareEq Call NameLoad ListLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr Str attr Expr Call NameLoad ListLoad Str Str NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore SubscriptLoad NameLoad Slice Num Assert CompareEq NameLoad ListLoad Str Str Str Str Str decorator_list
N/A N/A pytest isort.isort stdout pre_commit_hook.sort main write_file N/A N/A filename contents N/A N/A N/A N/A open filename w file_obj N/A N/A N/A N/A file_obj write contents N/A tmpfiles N/A N/A tmpdir N/A N/A N/A N/A write_file N/A N/A N/A tmpdir join correct_1.py strpath import json
import sys
 N/A N/A write_file N/A N/A N/A tmpdir join incorrect_1.py strpath import sys


import json
 N/A N/A write_file N/A N/A N/A tmpdir join incorrect_2.py strpath import sys


import json
 N/A tmpdir N/A N/A pytest fixture test_sort N/A N/A tmpfiles N/A N/A N/A N/A N/A main N/A N/A N/A N/A tmpfiles join correct_1.py strpath 0 N/A N/A N/A main N/A N/A N/A N/A tmpfiles join incorrect_1.py strpath 1 N/A N/A N/A main N/A N/A N/A N/A tmpfiles join incorrect_2.py strpath --check-only 1 N/A N/A N/A main N/A N/A N/A N/A tmpfiles join incorrect_2.py strpath --silent-overwrite 0 N/A test_sort_with_diff N/A N/A tmpfiles N/A N/A N/A filename N/A N/A N/A tmpfiles join incorrect_1.py strpath N/A N/A main N/A --diff --check-only filename N/A N/A N/A stdout seek 0 N/A lines N/A N/A N/A N/A stdout read splitlines N/A lines N/A lines N/A 4 N/A N/A lines N/A +import json  import sys - - -import json N/A