On 12/30/2014 09:03 AM, Joseph Martinot-Lagarde wrote:
Le 29/12/2014 23:40, Adrian Klaver a écrit :
On 12/29/2014 02:31 PM, Alexey Orlov wrote:
This is from *pep8 --help* output:
*--max-line-length=n set maximum allowed line length (default: 79)*
There must be a way to set it for Spyder
Not that I know of in Spyder. It seems though you can create a conf file
for pep8, where you can change its behavior:
http://pep8.readthedocs.org/en/latest/intro.html#configuration
This option could be set using the config value in spyder, this would be
a nice addition.
Why?
pep8 is an external program the user chooses to enable. What you want to
do in Spyder may or not have anything to do with what you do outside
Spyder. Having Spyder set the option in a pep8 conf file would make it
apply to all cases. Not sure that is desirable. Now I could see offering
a way for pep8 to read a Spyder specific conf file:
http://pep8.readthedocs.org/en/latest/intro.html#example-usage-and-output
--config=path user config file location (default: ~/.config/pep8)
Joseph
--
Adrian Klaver
[email protected]
--
You received this message because you are subscribed to the Google Groups
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.