Skip to content

Commit

Permalink
Merge pull request #5792 from dalthviz/fixes_issue_5791
Browse files Browse the repository at this point in the history
PR: Change pep8 check_executable for pycodestyle.
  • Loading branch information
ccordoba12 authored Nov 19, 2017
2 parents 44ddc68 + 3ef6e12 commit 40dcf07
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spyder/plugins/editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,8 @@ def enable_tabwidth_spin(index):
pep8_label = QLabel(_("<i>(Refer to the {} page)</i>").format(pep_url))
pep8_label.setOpenExternalLinks(True)
is_pyflakes = codeanalysis.is_pyflakes_installed()
is_pep8 = codeanalysis.get_checker_executable('pep8') is not None
is_pep8 = codeanalysis.get_checker_executable(
'pycodestyle') is not None
pyflakes_box = newcb(_("Real-time code analysis"),
'code_analysis/pyflakes', default=True,
tip=_("<p>If enabled, Python source code will be analyzed "
Expand Down

0 comments on commit 40dcf07

Please sign in to comment.