Giter Site home page Giter Site logo

dudenr33 / vscode-pylint Goto Github PK

View Code? Open in Web Editor NEW

This project forked from microsoft/vscode-pylint

0.0 0.0 0.0 603 KB

Linting support for python using the pylint library.

License: MIT License

JavaScript 1.42% Python 75.88% TypeScript 22.40% Dockerfile 0.31%

vscode-pylint's Introduction

Pylint extension for Visual Studio Code

A Visual Studio Code extension with support for the pylint linter. The extension ships with pylint=2.16.2.

Note:

  • This extension is supported for all actively supported versions of the python language (i.e., python >= 3.7).
  • The bundled pylint is only used if there is no installed version of pylint found in the selected python environment.
  • Minimum supported version of pylint is 2.12.2.

Usage

Once installed in Visual Studio Code, pylint will be automatically executed when you open a Python file.

If you want to disable pylint, you can disable this extension per workspace in Visual Studio Code.

Settings

Settings Default Description
pylint.args [] Custom arguments passed to pylint. E.g "pylint.args" = ["--rcfile=<file>"]
pylint.severity { "convention": "Information", "error": "Error", "fatal": "Error", "refactor": "Hint", "warning": "Warning", "info": "Information" } Controls mapping of severity from pylint to VS Code severity when displaying in the problems window. You can override specific pylint error codes { "convention": "Information", "error": "Error", "fatal": "Error", "refactor": "Hint", "warning": "Warning", "W0611": "Error", "undefined-variable": "Warning" }
pylint.path [] Setting to provide custom pylint executable. This will slow down linting, since we will have to run pylint executable every time or file save or open. Example 1: ["~/global_env/pylint"] Example 2: ["conda", "run", "-n", "lint_env", "python", "-m", "pylint"]
pylint.interpreter [] Path to a python interpreter to use to run the linter server.
pylint.importStrategy useBundled Setting to choose where to load pylint from. useBundled picks pylint bundled with the extension. fromEnvironment uses pylint available in the environment.
pylint.showNotification off Setting to control when a notification is shown.

Commands

Command Description
Pylint: Restart Server Force re-start the linter server.

Logging

From the command palette (View > Command Palette ...), run the Developer: Set Log Level... command. From the quick pick menu, select Pylint extension from the Extension logs group. Then select the log level you want to set.

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.