Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support mypy #126

Closed
qherreros opened this issue Jun 25, 2018 · 3 comments
Closed

Support mypy #126

qherreros opened this issue Jun 25, 2018 · 3 comments

Comments

@qherreros
Copy link

Hello,

I tried recently to install pyls-mypy, and it was not working at all. It broke the package in atom. Is it something you plan to support?

Thanks

@ghost
Copy link

ghost commented Aug 4, 2018

It would also be great to add support for black and isort, the other two optional extensions. Hopefully this should be straightforward.

@tillhainbach
Copy link
Contributor

You can add mypy support manually:
run

$ python3 -m pip install git+https://github.com/tomv564/pyls-mypy.git

and then add this to ~/.atom/packages/ide-python/package.json

        "pyls_mypy": {
          "title": "MyPy",
          "type": "object",
          "properties": {
            "enabled": {
              "title": "Enabled",
              "type": "boolean",
              "order": 1,
              "default": true,
              "description": "Enable or disable MyPy."
            },
            "live_mode": {
              "title": "Live mode",
              "type": "boolean",
              "order": 1,
              "default": false,
              "description": "Turn on live mode (If disabled, mypy linters on file save)."
            }
          }
        }

Use Toggles under MyPy to enable/disable mypy warnings and switch between live-mode and "on file save"

@aminya
Copy link
Member

aminya commented Jun 9, 2021

Already fixed in #232

@aminya aminya closed this as completed Jun 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants