Skip to content

Added a way to run multiple checkers. #130

@mforbes

Description

@mforbes

From the documentation, it seems like one should be able to run multiple checkers with something like the following:

(epy-setup-checker "pyflakes %f; pep8 %f")

but because of the abstraction, this is passed to flymake as the command pyflakes with the rest as arguments (which fails). Ideally one would be able to add multiple commands with something like

(epy-add-checker "pyflakes %f")
(epy-add-checker "pep8 %f")

which would fail gracefully if one of the commands does not work, but still runs the others. Unfortunately I have been unable to grok the flymake documentation well enough to suggest a reasonable course of action here. Hoping this is an easy fix for you.

As a workaround, one can always define a custom script like and run this instead, but this is an ugly solution for deployment as it requires distribution and installation of this script:

#!/bin/bash
pyflakes $*
pep8 $*

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions