Skip to content

Python2 and Python3 Linter support? Am I doing this wrong? #39

@zwolfe21

Description

@zwolfe21

I might be going about this the wrong way, but sometimes I edit both python2 and python3. Now, this ends up being a problem with pyflakes linter messages. I found a work around but it seems like I might have missed something, must be an easier way, if not, suggestion I suppose!

I install both language server packages

pip install python-language-server --user
pip3 install python-language-server --user

All I gotta do to get Atom, or rather pyflakes from Atom to use either one is edit the first line in ~/.local/bin/pyls to point to either /usr/bin/python2 or /usr/bin/python3.

With that, I have both syntax support. I feel like I gotta be making that more complicated?

screenshot from 2017-11-06 17-22-52
screenshot from 2017-11-06 17-22-23

PS: I Use Fedora

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions