Skip to content

JoshTrim/flycheck-local-flake8

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Use local flake8 for flycheck

This is plugin for popular emacs flycheck for python. Everytime check starts plugin calculates proper flake8 (from virtualenv), and sets project's setup.cfg if available. It works more proper way than default checker.

Installation

Make sure that package avaialble for emacs, and to your init.el

(require 'flycheck-local-flake8)
(add-hook 'flycheck-before-syntax-check-hook
          #'flycheck-local-flake8/flycheck-virtualenv-set-python-executables 'local)

Check:

Run C-c ! v in python-file buffer and see that flake8 imported from virtualenv.

http://i.imgur.com/dm8vkou.pngalt:screenshotofflycheckenabledcheckers

About

Plugin for flycheck-flake8 checker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Emacs Lisp 100.0%