Skip to content

Conversation

@PatrickMcSweeny
Copy link
Contributor

Closes #107. @kotp asked me to open a PR in this comment. The indentation checker currently just checks to see if the indentation for each line is not more than 2 spaces different than the line the line that proceeds it. This PR ensures that the difference in indentation is either two spaces or zero.

The PR also refactors the indentation checker to improve readability and performance based on the suggestion in this comment

@PatrickMcSweeny PatrickMcSweeny requested a review from a team as a code owner May 22, 2025 14:53
@github-actions github-actions bot closed this May 22, 2025
@vaeng vaeng reopened this May 22, 2025
Copy link
Member

@SleeplessByte SleeplessByte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine

@PatrickMcSweeny
Copy link
Contributor Author

What else needs to be done so this can be merged?

@vaeng
Copy link

vaeng commented May 22, 2025

Now that the tests are passing? Nothing :)

Thanks for your work!

@vaeng vaeng merged commit eb75192 into exercism:main May 22, 2025
3 checks passed
@exercism exercism deleted a comment from github-actions bot May 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Indentation checker does not check for single space indentation

3 participants