Skip to main content

Flake8 plugin to show errors only on changed lines

Project description

Project: flake8-diff-only

Description

This project provides a plugin for Flake8 that checks only the modified lines of files for style violations.

⚠️ Please note:

This project replicates that deprecated functionality but as a plugin, and naturally inherits the same limitations. However, it has distinct advantages — particularly in legacy codebases, where running full Flake8 checks may produce excessive noise. That's why I decided to recreate this feature in the form of a plugin.

Usage

To install the plugin, run:

pip install flake8-diff-only

To activate this plugin you need to add --diff-only on flake8 calling.

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_diff_only-0.1.9.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flake8_diff_only-0.1.9-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file flake8_diff_only-0.1.9.tar.gz.

File metadata

  • Download URL: flake8_diff_only-0.1.9.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.12.11 Linux/6.11.0-1018-azure

File hashes

Hashes for flake8_diff_only-0.1.9.tar.gz
Algorithm Hash digest
SHA256 fa05641b9660dcabdd20b75c07ff939b9db8f33840356983869ee2077c696f9a
MD5 8dd535f8ba5c86f43c8b3cd441bf283a
BLAKE2b-256 02c02a7c73a5ba45bab0a2eb6420a31304c96ab5f4d838b965d22ef6d7f43776

See more details on using hashes here.

File details

Details for the file flake8_diff_only-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: flake8_diff_only-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.12.11 Linux/6.11.0-1018-azure

File hashes

Hashes for flake8_diff_only-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 678d3b349b9ff16bbe30ef0f34582b8d77715a757fca574d2c6d75e4f5dd5156
MD5 516a10093d20a311b1766c455b3a9672
BLAKE2b-256 3e079389c1f851690647b4f932ce5c85eff210ddb4ee4be5d671cba80a7e8274

See more details on using hashes here.

Supported by

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