Skip to main content

Enables immediate output for flake8.

Project description

This module adds immediate output option for flake8, the Python code checker.

Usually, flake8 delays the output until a file is completely processed. With the immediate option, flake8 prints the errors directly without any delay. So this option provides the possibility to get a streaming pipe from a flake8 subprocess. A real world use case is represented by https://github.com/schlamar/SublimeStreamingLinter.

This has the drawback that the output is not sorted across the various checkers.

Installation

You can install or upgrade flake8-immediate with these commands:

$ pip install flake8-immediate
$ pip install --upgrade flake8-immediate

Plugin for Flake8

When both flake8 2.0 and flake8-immediate are installed, the plugin is available in flake8:

$ flake8 --version
2.0 (pep8: 1.4.5, mccabe: 0.2, flake8-immediate: 0.1, pyflakes: 0.6.1)

Usage

Just pass the --immediate option to flake8:

$ flake8 --help
Usage: flake8 [options] input ...

Options:
  ...
  --immediate           don't cache the error output until EOF
  ...

Changes

0.1 - 2013-03-27

  • First release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flake8-immediate-0.1.zip (6.2 kB view details)

Uploaded Source

File details

Details for the file flake8-immediate-0.1.zip.

File metadata

  • Download URL: flake8-immediate-0.1.zip
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for flake8-immediate-0.1.zip
Algorithm Hash digest
SHA256 9c51d770ab664e0a14d4cc512dbe73e405fae60231457e06ddfe6da4d7c0e3ab
MD5 dba27b8fce1853236ad8deec86dbc182
BLAKE2b-256 d2bb57c8a0894a4dd8f13d67072560538f4f98c9f6be24538c84c06c20568540

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page