def _check_equals_spacing(self, tokens, i):
if self._has_valid_type_annotation(tokens, i):<EOL><INDENT>self._check_space(tokens, i, (_MUST, _MUST))<EOL><DEDENT>elif self._inside_brackets("<STR_LIT:(>") or self._inside_brackets("<STR_LIT>"):<EOL><INDENT>self._check_space(tokens, i, (_MUST_NOT, _MUST_NOT))<EOL><DEDENT>else:<EOL><INDENT>self._check_space(tokens, i, (_MUST, _MUST))<EOL><DEDENT>
Check the spacing of a single equals sign.