pylint/checkers/format.py
def _check_equals_spacing(self, tokens, i):
        """Check the spacing of a single equals sign."""
        if self._has_valid_type_annotation(tokens, i):
            self._check_space(tokens, i, (_MUST, _MUST))
        elif self._inside_brackets("(") or self._inside_brackets("lambda"):
            self._check_space(tokens, i, (_MUST_NOT, _MUST_NOT))
        else:
            self._check_space(tokens, i, (_MUST, _MUST))
def _check_equals_spacing(self, tokens, i):
        if self._has_valid_type_annotation(tokens, i):
            self._check_space(tokens, i, (_MUST, _MUST))
        elif self._inside_brackets("(") or self._inside_brackets("lambda"):
            self._check_space(tokens, i, (_MUST_NOT, _MUST_NOT))
        else:
            self._check_space(tokens, i, (_MUST, _MUST))
def _check_equals_spacing ( self , tokens , i ) : if self . _has_valid_type_annotation ( tokens , i ) : self . _check_space ( tokens , i , ( _MUST , _MUST ) ) elif self . _inside_brackets ( "(" ) or self . _inside_brackets ( "lambda" ) : self . _check_space ( tokens , i , ( _MUST_NOT , _MUST_NOT ) ) else : self . _check_space ( tokens , i , ( _MUST , _MUST ) )
Check the spacing of a single equals sign.
Check the spacing of a single equals sign .