Skip to content

beck/linter-pep257

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

linter-pep257

A Linter plugin to lint Python docstrings according to the semantics and conventions spec'd in pep257.

In use side-by-side with the flake8 linter:

Screenshot of pep257 feedback

Installation

  1. If Linter is not already installed, follow the linter installation instructions.

  2. Configure linter to show "info" messages:

  • Open the config for Linter.
  • Check option "Show Info Messages".
  1. Install python package pep257.

Execute in a terminal:

pip install pep257
  1. Install plugin.

Execute:

apm install linter-pep257

Configuration

setting values
Error codes to ignore (comma separated) Example: D100,D101 - all available error codes
Path to executable pep257 cmd Default: pep257

If using python version management, like pyenv, the path configuration will need to be set. For pyenv, the path for pep257 is discoverable by executing:

pyenv which pep257

Donation

Share the love!

donate-paypal

Donate Bitcoins<script src="https://www.coinbase.com/assets/button.js" type="text/javascript"></script>

About

Lint Python docstrings on the fly.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CoffeeScript 100.0%