Always add a space before/after an operator such as =, +, * etc. Exception: pattern matching in function heads.

    modify_tuple({A, B}=Tuple, X, Y) ->
      IncreasedA = A + X,
      NewTuple = do_something(Tuple, IncreasedA, Y),
      {ok, NewTuple}.