question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow users to configure PEP8 options

See original GitHub issue

Description of your problem

I would like to have a GUI option in the Tools->Preferences->Editor menu in Spyder so as to increase maximum line length in Spyder Editor and enforce remaining PEP8 standards What steps will reproduce the problem? 1. 2. 3.

What is the expected output? What do you see instead?

Please provide any additional information below Pls. also refer to comment by Carlos in the below link: http://stackoverflow.com/questions/26426689/python-how-to-tell-spyders-style-analysis-pep8-to-read-from-a-setup-cfg-or-inc

Versions and main components

  • Spyder Version: 2.3.8
  • Python Version:2.7
  • Operating system:Windows

Dependencies

Please go to the menu entry Help > Optional Dependencies (or Help > Dependencies), press the button Copy to clipboard and paste the contents below:

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:1
  • Comments:15 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
bcolsencommented, Apr 4, 2019

@gamesbook on linux:

locate pycodestyle.py

will find the path

0reactions
jennirinkercommented, Apr 4, 2019

@gamesbook Ah, then I probably can’t help you further, unfortunately. Don’t have experience with non-Anaconda spyder. If you’ve followed the instructions on that page and tried which python in your terminal (or maybe which spyder) and that doesn’t work, then I’m out of ideas. 😦

Read more comments on GitHub >

github_iconTop Results From Across the Web

PEP 8 – Style Guide for Python Code
Correct: # Aligned with opening delimiter. foo = long_function_name(var_one, var_two, var_three, var_four) # Add 4 spaces (an extra level of ...
Read more >
Introduction — pep8 1.7.1 documentation
pep8 is a tool to check your Python code against some of the style conventions in PEP ... At the user level, settings...
Read more >
Configure pep8.py command line options in pycharm
Allowed options are: exclude, filename, select, ignore, max-line-length, count, format, quiet, show-pep8, show-source, statistics, verbose. Share.
Read more >
Setting Up PEP8 and Pylint on VS Code - DEV Community ‍ ‍
Launch VS Code from within this terminal window (this will ensure the VS Code process will inherit all of the Virtual Env environment...
Read more >
Configuring PEP8 (not ignoring rules, really changing it!!!)
Also, here is the PEP8 from the Python website:... ... Hi, you can configure this option in Settings | Editor | Code Style...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found