remove function set hints in trainings

Style/TrailingWhitespace: Trailing whitespace detected.