markbaas / atom-python-autopep8

MIT License
9 stars 6 forks source link

Why this tool force me use spaces instead of tab. #7

Open zhanglongqi opened 7 years ago

Aerijo commented 7 years ago

Because this package is specifically meant to enforce PEP8 style. If you don't want to follow this, turn off the package.

masterl commented 4 years ago

Well, to be fair PEP8 says:

Tabs or Spaces? Spaces are the preferred indentation method.

Tabs should be used solely to remain consistent with code that is already indented with tabs.

It says preferred, not mandatory. And also says that code that already uses tabs, can still use tab.