Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Always ignore #noqa lines with flake8.

Project Description

By default, flake8 ignores # NOQA directives for some PEP8 errors.

See https://gitlab.com/pycqa/flake8/issues/21

This flake8 plugin makes it respect them.

Installation

Simply:

$ pip install flake8-respect-noqa

Usage

It is enabled by default as soon as it is installed. Check that flake8 finds it:

$ flake8 --version

2.4.1 (pep8: 1.5.7, flake8-respect-noqa: 0.2, mccabe: 0.3.1, pyflakes: 0.8.1) CPython 2.7.6 on Linux

However, to get it to work, you currently need to run flake8 with --jobs=1 or put jobs = 1 in your [flake8] configuration, otherwise flake8 uses its own ‘reporter’, which trumps the customizations this extension attempts to make.

See https://gitlab.com/pycqa/flake8/issues/66

Release History

This version
History Node

0.3

History Node

0.2

History Node

0.1

Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
flake8_respect_noqa-0.3-py2-none-any.whl
(4.3 kB) Copy SHA256 Hash SHA256
Wheel 2.7 Jun 22, 2016
flake8-respect-noqa-0.3.tar.gz
(3.2 kB) Copy SHA256 Hash SHA256
Source None Jun 22, 2016

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting