# 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:**
>
> * The [current implementation of `--diff` is fundamentally flawed by design](https://github.com/pycqa/flake8/issues/1389).
> * The [`--diff` option was deprecated in Flake8 5.0.0](https://flake8.pycqa.org/en/latest/release-notes/5.0.0.html#deprecations).
> * The [`--diff` option was removed entirely in Flake8 6.0.0](https://flake8.pycqa.org/en/latest/release-notes/6.0.0.html#backwards-incompatible-changes).
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:
```bash
pip install flake8-diff-only
```
To activate this plugin you need to add `--diff-only` on `flake8` calling.
Raw data
{
"_id": null,
"home_page": "https://github.com/emilkholod/flake8-diff-only",
"name": "flake8-diff-only",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9.0",
"maintainer_email": null,
"keywords": "flake8, plugin, quotes, code quality",
"author": "\u0425\u043e\u043b\u043e\u0434\u043d\u043e\u0432 \u042d\u043c\u0438\u043b\u044c",
"author_email": "emil.kholod@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/02/c0/2a7c73a5ba45bab0a2eb6420a31304c96ab5f4d838b965d22ef6d7f43776/flake8_diff_only-0.1.9.tar.gz",
"platform": null,
"description": "# Project: flake8-diff-only\n\n## Description\n\nThis project provides a plugin for **Flake8** that checks only the modified lines of files for style violations.\n\n> \u26a0\ufe0f **Please note:**\n>\n> * The [current implementation of `--diff` is fundamentally flawed by design](https://github.com/pycqa/flake8/issues/1389).\n> * The [`--diff` option was deprecated in Flake8 5.0.0](https://flake8.pycqa.org/en/latest/release-notes/5.0.0.html#deprecations).\n> * The [`--diff` option was removed entirely in Flake8 6.0.0](https://flake8.pycqa.org/en/latest/release-notes/6.0.0.html#backwards-incompatible-changes).\n\nThis project replicates that deprecated functionality but as a plugin, and naturally inherits the same limitations.\nHowever, it has distinct advantages \u2014 particularly in **legacy codebases**, where running full Flake8 checks may produce excessive noise.\nThat's why I decided to recreate this feature in the form of a plugin.\n\n## Usage\n\nTo install the plugin, run:\n\n```bash\npip install flake8-diff-only\n```\n\nTo activate this plugin you need to add `--diff-only` on `flake8` calling.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Flake8 plugin to show errors only on changed lines",
"version": "0.1.9",
"project_urls": {
"Homepage": "https://github.com/emilkholod/flake8-diff-only",
"Issues": "https://github.com/emilkholod/flake8-diff-only/issues",
"Repository": "https://github.com/emilkholod/flake8-diff-only"
},
"split_keywords": [
"flake8",
" plugin",
" quotes",
" code quality"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "3e079389c1f851690647b4f932ce5c85eff210ddb4ee4be5d671cba80a7e8274",
"md5": "516a10093d20a311b1766c455b3a9672",
"sha256": "678d3b349b9ff16bbe30ef0f34582b8d77715a757fca574d2c6d75e4f5dd5156"
},
"downloads": -1,
"filename": "flake8_diff_only-0.1.9-py3-none-any.whl",
"has_sig": false,
"md5_digest": "516a10093d20a311b1766c455b3a9672",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9.0",
"size": 5200,
"upload_time": "2025-07-23T10:35:00",
"upload_time_iso_8601": "2025-07-23T10:35:00.289135Z",
"url": "https://files.pythonhosted.org/packages/3e/07/9389c1f851690647b4f932ce5c85eff210ddb4ee4be5d671cba80a7e8274/flake8_diff_only-0.1.9-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "02c02a7c73a5ba45bab0a2eb6420a31304c96ab5f4d838b965d22ef6d7f43776",
"md5": "8dd535f8ba5c86f43c8b3cd441bf283a",
"sha256": "fa05641b9660dcabdd20b75c07ff939b9db8f33840356983869ee2077c696f9a"
},
"downloads": -1,
"filename": "flake8_diff_only-0.1.9.tar.gz",
"has_sig": false,
"md5_digest": "8dd535f8ba5c86f43c8b3cd441bf283a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9.0",
"size": 3783,
"upload_time": "2025-07-23T10:35:01",
"upload_time_iso_8601": "2025-07-23T10:35:01.306937Z",
"url": "https://files.pythonhosted.org/packages/02/c0/2a7c73a5ba45bab0a2eb6420a31304c96ab5f4d838b965d22ef6d7f43776/flake8_diff_only-0.1.9.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-23 10:35:01",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "emilkholod",
"github_project": "flake8-diff-only",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "flake8-diff-only"
}