How can I change pylint tab width from 4 spaces to 2 spaces?

Viewed 4867

I have tried pylint --indent-string=" ", but I keep getting the help message. What am I supposed to do to configure pylint.

1 Answers

According to the docs, " " means 4 spaces.

You need to use single quotes: pylint --indent-string=' '

Related