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.8.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.8-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: flake8_diff_only-0.1.8.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.11.11 Linux/6.6.87.2-microsoft-standard-WSL2

File hashes

Hashes for flake8_diff_only-0.1.8.tar.gz
Algorithm Hash digest
SHA256 8f25495abc0bb1407b2fd2bc63903d817b0baf8244cc830efc4747ce722abae4
MD5 44dce87e9bbbc09feffa3d8d6294ea3c
BLAKE2b-256 9b385d760134553f4ed1dcbd8ecd86d75a8384e2726827cccbb486a04eec0a30

See more details on using hashes here.

File details

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

File metadata

  • Download URL: flake8_diff_only-0.1.8-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.11.11 Linux/6.6.87.2-microsoft-standard-WSL2

File hashes

Hashes for flake8_diff_only-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 9c62e64d0112dd17ba170014623a6233782998ea47987e383daa0ac09b901875
MD5 07e4b17e08087b717f021d01076c46f0
BLAKE2b-256 590add202632353fb23fe54aa40b674a1506921235f15bc0acd61ca5195abf5d

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