LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Kate - Writing Python programs PEP-8 (http://www.linuxquestions.org/questions/linux-software-2/kate-writing-python-programs-pep-8-a-688942/)

Phyrexicaid 12-07-2008 02:32 PM

Kate - Writing Python programs PEP-8
 
I don't program enough to use VI or Emacs, so I've always just used Kate.

I recently started learning python, and I am trying to follow the style guide outlined in PEP-8, which states:
Use 4 spaces per indentation level

The default setting in Kate for Python code is 2 spaces per indentation level. I changed this very easily in the settings to align with PEP-8, but does anyone know why Kate doesn't follow PEP-8?

Surely the default setting in Kate should align with the recommended default indentation for Python?

bigrigdriver 12-08-2008 01:00 PM

Did you go to the Tools menu, Indentatiion, and select Python Style?

Phyrexicaid 12-08-2008 02:03 PM

Quote:

Originally Posted by bigrigdriver (Post 3368259)
Did you go to the Tools menu, Indentatiion, and select Python Style?

I did indeed.


All times are GMT -5. The time now is 10:26 PM.