Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to configure PYLS for Qt?



  • Hey guys, quick question: I'm trying to use the Python Language Server for its autocomplete functionality, mostly, but turning it on leads to it throwing up tonnes of warnings in the editor window regarding code style. How do I disable those kinds of errors for PYLS? I ask because I have a very specific style I use for my own personal projects, and I can't stand having the editor yell at me for something this pointless.

    Here's what I'm talking about, just for visual reference:

    alt text



  • There are a few options that can be set in the Language Client section of Creator's preferences. Beyond that and the command line arguments, it looks like PYLS uses several configuration files based on which providers it autodetects. I haven't found an easy solution.
    https://pypi.org/project/python-language-server/


Log in to reply