Bug #6034
closed
fixeria wrote:
I don't see these warnings with pylint v2.17.4 (just tested)
- Assignee changed from osmith to fixeria
This is what I am getting when running pylint on dexter 's patchset:
$ python3 -m pylint -j0 --errors-only --disable E1102 --disable E0401 --enable W0301 pySim *.py
************* Module pySim-shell
pySim-shell.py:30:4: E0611: No name 'fg' in module 'cmd2' (no-name-in-module)
pySim-shell.py:30:4: E0611: No name 'bg' in module 'cmd2' (no-name-in-module)
pySim-shell.py:154:8: E1123: Unexpected keyword argument 'use_ipython' in method call (unexpected-keyword-arg)
pySim-shell.py:171:30: E1120: No value for argument 'settable_object' in constructor call (no-value-for-parameter)
pySim-shell.py:173:30: E1120: No value for argument 'settable_object' in constructor call (no-value-for-parameter)
pySim-shell.py:175:30: E1120: No value for argument 'settable_object' in constructor call (no-value-for-parameter)
pySim-shell.py:176:30: E1120: No value for argument 'settable_object' in constructor call (no-value-for-parameter)
pySim-shell.py
seems to work with cmd2 v2.4.3 on my system, but pylint is not smart enough to skip checking conditional blocks for older cmd2 versions.
- Subject changed from migrate to a more recent pylint version to pylint is not happy about cmd2 backwards compatibility
- Assignee deleted (
fixeria)
- Assignee set to osmith
- % Done changed from 0 to 90
- Status changed from New to Resolved
- % Done changed from 90 to 100
Also available in: Atom
PDF