Skip to content

garrettXCIV/linter-pylint

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

linter-pylint

Build Status Dependency Status Plugin installs! Package version!

This package will lint your opened Python-files in Atom, using pylint.

Installation

  • Install pylint.
  • $ apm install linter-pylint

Configuration

  • Executable Path to your pylint executable. This is useful if you have different versions of pylint for Python 2 and 3 or if you are using a virtualenv. Use %p for the current project (no trailing /).
  • Message Format Format for Pylint messages where %m is the message, %i is the numeric message ID (e.g. W0613) and %s is the human-readable message ID (e.g. unused-argument).
  • Python Path Paths to be added to the PYTHONPATH environment variable. Use %p for the current project directory (e.g. %p/vendor) or %f for the directory of the current file location.
  • Rc File Path to pylintrc file. Use %p for the current project directory or %f for the directory of the current file location.
  • Working Directory Directory pylint is run from. Use %p for the current project directory or %f for the directory of the current file.
  • %p will fallback to the current file's directory (equivilent to %f) if no project directory can be determined.

Other available linters

There are other linters available - take a look at the linters mainpage.

Changelog

1.1.0

  • Allow use of project and file directories in rcfile, cwd, and PYTHONPATH (d82116d)
  • Fix use of PYTHONPATH (7fb325)

1.0.0

  • Use latest linter API

0.2.1

  • Use new API for project path

0.2.0

  • Settings to configure rcfile, executable name #24

0.1.5

  • Fix lint message display on Windows #15
  • Fix temporary file leak when pylint isn't present

0.1.3

  • Display pylint message ids
  • Fix debug mode #9
  • Use project directory as cwd (works better with Atom projects)

0.1.2

  • fix 'has no method getCmd' bug #4

0.1.0

  • Implemented first version of 'linter-pylint'
  • Added support for Errors and Warnings, "Refactor", "Convention and "Fatal"-messages are ignored due to missing display-capabilities.

About

Atom linter plugin for Python, using pylint.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.7%
  • Python 0.3%