Page MenuHomePhabricator

[ExampleLintEngine]: pylint: error: no such option: -i
Closed, DuplicatePublic

Description

When I run arc lint using the ExampleLintEngine on some py file I got the following error, looks like -iy is not a valid command option. I use pylint version 1.1.0 on Mac OS X 10.9. Removing the -iy option works fine.

(venv)Erics-MacBook-Pro:ekwan$ arc lint --lintall blah.py
Exception
Some linters failed:

  • ArcanistPyLintLinter: CommandException: Command failed with error #32! COMMAND /usr/bin/env PYTHONPATH=''$PYTHONPATH 'pylint' -rn -iy '/Users/ekwan/code/operator/OperatorServer/opsettings.py'

    STDOUT (empty)

    STDERR No config file found, using default configuration Usage: pylint [options] module_or_package

    Check that a module satisfies a coding standard (and more !).

    pylint --help

    Display this help message and exit.

    pylint --help-msg <msg-id>[,<msg-id>]

    Display help messages about given message identifiers and exit.
pylint: error: no such option: -i

(Run with --trace for a full exception trace.)

(venv)Erics-MacBook-Pro: ekwan$ pylint --version
No config file found, using default configuration
pylint 1.1.0,
astroid 1.0.1, common 0.60.1
Python 2.7.5 (default, Sep 12 2013, 21:33:34)
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)]

Event Timeline

ekwan assigned this task to epriestley.
ekwan raised the priority of this task from to Low.
ekwan updated the task description. (Show Details)
ekwan added a project: Arcanist.
ekwan added a subscriber: ekwan.

Looks like pylint 0.25.0 has the -iy option, would be useful to add this to the documentation