Open EmmaJaneBonestell opened 1 year ago
thanks. what is reporting these errors? I'm surprised our flake8 isn't reporting them
@puremourning Pylint, through Pylama. It reported quite a few other non-style warnings, false positives at a cursory glance, but they may be more meaningful to you. Pylint can also sometimes check python code that's using native extensions if you use 'unsafe-load-any-extension=yes'.
The last commit to ycmd/completers/python/python_completer.py ( 9e6b32ba8a90563a53e998d5258b4214b48aec39 ) introduced several warnings and caused LOGGER.error to become unreachable/dead code.
E1120 No value for argument 'start' in constructor call, 621:9
E1120 No value for argument 'end' in constructor call, 621:9
https://github.com/ycm-core/ycmd/blob/f53e7acf511748dd50f733c11b7de93416410c17/ycmd/completers/python/python_completer.py#L621-L625PLW0101 Unreachable code, 656:3
https://github.com/ycm-core/ycmd/blob/f53e7acf511748dd50f733c11b7de93416410c17/ycmd/completers/python/python_completer.py#L650-L661