Skip to content

Commit

Permalink
Use python -m to invoke pylint and flake8
Browse files Browse the repository at this point in the history
Part of GH-1055.
  • Loading branch information
cpitclaudel committed Sep 27, 2016
1 parent d7b664d commit 4f4b375
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flycheck.el
Expand Up @@ -8002,7 +8002,7 @@ Update the error level of ERR according to

Requires Flake8 3.0 or newer. See URL
`https://flake8.readthedocs.io/'."
:command ("flake8"
:command ("python" "-m" "flake8"
"--format=default"
"--stdin-display-name" source-original
(config-file "--config" flycheck-flake8rc)
Expand Down Expand Up @@ -8045,7 +8045,7 @@ This syntax checker requires Pylint 1.0 or newer.

See URL `https://www.pylint.org/'."
;; -r n disables the scoring report
:command ("pylint" "-r" "n"
:command ("python" "-m" "pylint" "-r" "n"
"--msg-template"
(eval (if flycheck-pylint-use-symbolic-id
"{path}:{line}:{column}:{C}:{symbol}:{msg}"
Expand Down

0 comments on commit 4f4b375

Please sign in to comment.