invoking pylint programmatically

后端 未结 7 860
难免孤独
难免孤独 2020-12-05 00:21

I\'d like to invoke the pylint checker, limited to the Error signalling part, as part of my unit testing. so I checked the pylint executable script, got to the pylint

7条回答
  •  萌比男神i
    2020-12-05 00:55

    NOTE: At some point pylint changed the interface. The above examples need to replace exit=False with do_exit=False. (@mad7777, @amit-tripathi)

    (Learned as per https://github.com/carsongee/pytest-pylint/issues/80)

提交回复
热议问题