nodes: 0, module; 1, function_definition; 2, function_name:_create_output_from_match; 3, parameters; 4, block; 5, identifier:self; 6, identifier:match_result; 7, expression_statement; 8, expression_statement; 9, expression_statement; 10, return_statement; 11, comment:"""As isort outputs full path, we change it to relative path."""; 12, assignment; 13, assignment; 14, call; 15, identifier:full_path; 16, subscript; 17, identifier:path; 18, call; 19, identifier:LinterOutput; 20, argument_list; 21, identifier:match_result; 22, string; 23, attribute; 24, argument_list; 25, attribute; 26, identifier:path; 27, subscript; 28, string_content:full_path; 29, identifier:self; 30, identifier:_get_relative_path; 31, identifier:full_path; 32, identifier:self; 33, identifier:name; 34, identifier:match_result; 35, string; 36, string_content:msg
code: def _create_output_from_match(self, match_result):
          """As isort outputs full path, we change it to relative path."""
          full_path = match_result['full_path']
          path = self._get_relative_path(full_path)
          return LinterOutput(self.name, path, match_result['msg'])