Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/purcell/flymake-python-pyflakes
Emacs flymake handler for python using pyflakes
https://github.com/purcell/flymake-python-pyflakes
Last synced: about 2 months ago
JSON representation
Emacs flymake handler for python using pyflakes
- Host: GitHub
- URL: https://github.com/purcell/flymake-python-pyflakes
- Owner: purcell
- Created: 2011-07-05T10:24:51.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2024-11-07T07:12:55.000Z (3 months ago)
- Last Synced: 2024-11-07T08:20:49.103Z (3 months ago)
- Language: Emacs Lisp
- Size: 11.7 KB
- Stars: 30
- Watchers: 4
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
flymake-python-pyflakes.el
==========================An Emacs flymake handler for syntax-checking Python source code using
`pyflakes` or `flake8`.These days you might be better served by [flycheck](https://github.com/flycheck/flycheck).
Installation
=============If you choose not to use one of the convenient packages in
[Melpa][melpa] and [Marmalade][marmalade], you'll need to add the
directory containing `flymake-python-pyflakes.el` to your `load-path`, and then
`(require 'flymake-python-pyflakes)`. You'll also need to install
[flymake-easy](https://github.com/purcell/flymake-easy).Usage
=====Add the following to your emacs init file:
(require 'flymake-python-pyflakes)
(add-hook 'python-mode-hook 'flymake-python-pyflakes-load)To use `flake8` instead of `pyflakes`, add this line:
(setq flymake-python-pyflakes-executable "flake8")
You can pass extra arguments to the checker program by customizing
the variable `flymake-python-pyflakes-extra-arguments`, or setting it
directly, e.g.(setq flymake-python-pyflakes-extra-arguments '("--ignore=W806"))
[marmalade]: http://marmalade-repo.org
[melpa]: http://melpa.org
[💝 Support this project and my other Open Source work](https://www.patreon.com/sanityinc)
[💼 LinkedIn profile](https://uk.linkedin.com/in/stevepurcell)
[✍ sanityinc.com](http://www.sanityinc.com/)