exercism / python

Exercism exercises in Python.
https://exercism.org/tracks/python
MIT License
1.94k stars 1.29k forks source link

Bad indentation error for tab size of 2 #3171

Closed meminens closed 2 years ago

meminens commented 2 years ago

Python Analyzer produces an essential error when tab size of 2 is used instead of 4. I work exercises locally via CLI.

exercism version 3.0.13

Screen Shot 2022-09-11 at 12 02 24 PM
bobahop commented 2 years ago

@eminphi: Thank you for your interest in improving the Python track on Exercism.

The analyzer follows the Python Style Guide for Indentation which says

Use 4 spaces per indentation level.

So the analyzer is enforcing the style guidelines as written by the creator of the Python language and others.

Please let us know if this response is satisfactory so we can close this issue. Thanks!

meminens commented 2 years ago

Thanks for the Guide reference. I always, inaccurately, assumed that the indentation is just a personal preference. Something new I've learned today!