Trim Trailing Whitespace

Hi.

The checks job of my pipeline keeps failing, and I don’t know why. The only item that fails is one issue about trailing whitespace.

[trailing-whitespace] Trim Trailing Whitespace…Failed

But I don’t know how to solve it. Any help would be greatly appreciated. Thanks.

try installing and running pre-commit on every commit you make :wink:

1 Like

Please, rename this thread. Make sure to use a meaningful title so other people can find it in the future in case they have the same problem.

Also, have you checked what a trailing whitespace is?

Make sure to do some googling before posting.

@abstract-sodium If this topic is solved, please mark it as such by checking the solution chart at the bottom of the post you consider that properly answers your question. If not, please update the post with fuhrer information about the issue and/or the proposed solutions of the participants.

The job is

https://gitlab.com/autonomicmind/training/-/jobs/266472798

give a try on what I early said, also as @infinite-loop said, try to make a research about the issue on your own.