Giter Club home page Giter Club logo

pylinter's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

milselarch

pylinter's Issues

Not running after pylint installation and configuration

Hi.
I did a clean install of python, after I installed the pip and after the pylint.
All of them running without problems in command line prompt and after installed this extension in my Brackets I inserted the pylint location in the brackets.json configuration file like this:

"pylinter.pylintPath": "C:\\Users\\leand\\AppData\\Local\\Programs\\Python\\Python36-32\\Scripts\\pylint.exe",
"pylinter.outputPattern": "{msg_id} > {msg} [{symbol} @ {line},{column}]",

after I did it no more error messages of extension running fail but when I open a .py file is not showing nothing about pylint.
I run the pylint from command line in the same file and it showed messages, but it still not working in Brackets.
My Brackets version:
sprint 8 version 1.8.0-17108 (alf_localization_release_1.8 3af64fae4)
timestamp version: Wed Nov 02 2016 12:07:29 GMT+0000

Thanks.

How do i install this properly

I tried following instruction from the pylint site. simply typing "pip install pylint" didnt work first time. Through the web i found some other code. Then found this code, AtomLinter/linter-pylint#30 (comment)

After that i did do "pip install pylint" and the code run but i then get this error.

screen shot 2017-11-12 at 04 21 58

Why is all the info on how to do this properly hidden??? Im not ax experienced coder, know some basics. But installing all of this seems like a hell of a job and an only guru's pull it off properly

PyLint can't be found

I ran into a beginner issue (due to semantics) that I solved myself but I wanted to provide it for anyone newcomers running into the same issue. After installing the Brackets extension and opening a Python file you get this error immediately:

"Brackets" Pylint can't be found! Please confirm you have Pylint installed and that the property 'pylint.pulintPath' in your Brackets preference file is correct. Once you edit your preference file, please restart Brackets

The reason: Your path is wrong or left as default
The solution: In Brackets, Debug > Open Preferences File. Edit the brackets.json file
"pylinter.pylintPath": "path\\to\\pylint"
Change that path to the correct one

Making sure everything is correct:

  1. Find the Path: In Windows, to find the python path click the windows button type Python, right click the program and go to Open File Location. If it bring's you to a shortcut right click that and do the same. If it's Python 3.7 it will be around here: "C:\Users[your user]\AppData\Local\Programs\Python\Python37-32".
    Go to the Scripts folder. If a pylint file is not inside it that means it's not installed. if it is go to step 4.

  2. Install Pylint: Windows button > CMD, right click and run as administrator. cd C:\Users\[your user]\AppData\Local\Programs\Python\[Python version]\Scripts then follow the instructions here. You will probably have to do python -m pip install --upgrade pip then likely python -m pip install pylint

4. Getting the path correct: Go back to editing the brackets.json file and change the code "path\\to\\pylint" to "C:\\Users\\[your user]\\AppData\\Local\\Programs\\Python\\[Python version]\\Scripts\\pylint.exe".

@grafluxe I think most people could figure this problem out if an example was added to the Configure section the the ReadMe. I didn't know / in the filepath had to be changed to // and that pylint.exe was necessary to include in the path. I'll gladly remove this issue if there's another place I can spell this out for others looking for answers. Thank you for all your hard work on the Linter.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.