|
pylint #19799 "pylint -blah" exit with status 2 [resolved]
while "pylint --help" states:
>> Output status code:
>> Pylint should leave with following status code:
>> * 0 if everything went fine
>> * 1 if some fatal message issued
>> * 2 if some error message issued
>> * 4 if some warning message issued
>> * 8 if some refactor message issued
>> * 16 if some convention message issued
>> * 32 on usage error
>> status 1 to 16 will be bit-ORed so you can know which different
>> categories has been issued by analysing pylint output status code
derek. : Currently bad options such as --blah will be being handled by optparse and thats probably the one responsible for returning the value 2 at the moment.
| | priority | normal |
|---|
| type | bug |
|---|
| appeared in | <not specified> |
|---|
| done in | 0.21.4 |
|---|
| load | 0.200 |
|---|
| load left | 0.000 |
|---|
| closed by | <not specified> |
|---|
Workflow history| from state (3) | to state | comment | date | User |
| validation pending | resolved | | 2011/03/10 11:05 | sthenault |
| done | validation pending |
version published
| 2010/10/27 15:19 | afayolle |
| open | done | | 2010/10/25 10:46 | eanclin |
| |
|