flake8-diff-only 0.1.5__tar.gz → 0.1.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {flake8_diff_only-0.1.5 → flake8_diff_only-0.1.6}/PKG-INFO +14 -3
- flake8_diff_only-0.1.6/README.md +23 -0
- {flake8_diff_only-0.1.5 → flake8_diff_only-0.1.6}/flake8_diff_only/checker.py +1 -1
- {flake8_diff_only-0.1.5 → flake8_diff_only-0.1.6}/pyproject.toml +1 -1
- flake8_diff_only-0.1.5/README.md +0 -12
- {flake8_diff_only-0.1.5 → flake8_diff_only-0.1.6}/LICENSE.md +0 -0
- {flake8_diff_only-0.1.5 → flake8_diff_only-0.1.6}/flake8_diff_only/__init__.py +0 -0
- {flake8_diff_only-0.1.5 → flake8_diff_only-0.1.6}/flake8_diff_only/patch.py +0 -0
- {flake8_diff_only-0.1.5 → flake8_diff_only-0.1.6}/flake8_diff_only/types.py +0 -0
- {flake8_diff_only-0.1.5 → flake8_diff_only-0.1.6}/flake8_diff_only/utils.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: flake8-diff-only
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.6
|
4
4
|
Summary: Flake8 plugin to show errors only on changed lines
|
5
5
|
License: MIT
|
6
6
|
Keywords: flake8,plugin,quotes,code quality
|
@@ -30,11 +30,22 @@ Description-Content-Type: text/markdown
|
|
30
30
|
# Project: flake8-diff-only
|
31
31
|
|
32
32
|
## Description
|
33
|
-
|
33
|
+
|
34
|
+
This project provides a plugin for **Flake8** that checks only the modified lines of files for style violations.
|
35
|
+
|
36
|
+
> ⚠️ **Please note:**
|
37
|
+
>
|
38
|
+
> * The [current implementation of `--diff` is fundamentally flawed by design](https://github.com/pycqa/flake8/issues/1389).
|
39
|
+
> * The [`--diff` option was deprecated in Flake8 5.0.0](https://flake8.pycqa.org/en/latest/release-notes/5.0.0.html#deprecations).
|
40
|
+
> * 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).
|
41
|
+
|
42
|
+
This project replicates that deprecated functionality but as a plugin, and naturally inherits the same limitations.
|
43
|
+
However, it has distinct advantages — particularly in **legacy codebases**, where running full Flake8 checks may produce excessive noise.
|
44
|
+
That's why I decided to recreate this feature in the form of a plugin.
|
34
45
|
|
35
46
|
## Usage
|
36
47
|
|
37
|
-
To install the plugin,
|
48
|
+
To install the plugin, run:
|
38
49
|
|
39
50
|
```bash
|
40
51
|
pip install flake8-diff-only
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Project: flake8-diff-only
|
2
|
+
|
3
|
+
## Description
|
4
|
+
|
5
|
+
This project provides a plugin for **Flake8** that checks only the modified lines of files for style violations.
|
6
|
+
|
7
|
+
> ⚠️ **Please note:**
|
8
|
+
>
|
9
|
+
> * The [current implementation of `--diff` is fundamentally flawed by design](https://github.com/pycqa/flake8/issues/1389).
|
10
|
+
> * The [`--diff` option was deprecated in Flake8 5.0.0](https://flake8.pycqa.org/en/latest/release-notes/5.0.0.html#deprecations).
|
11
|
+
> * 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).
|
12
|
+
|
13
|
+
This project replicates that deprecated functionality but as a plugin, and naturally inherits the same limitations.
|
14
|
+
However, it has distinct advantages — particularly in **legacy codebases**, where running full Flake8 checks may produce excessive noise.
|
15
|
+
That's why I decided to recreate this feature in the form of a plugin.
|
16
|
+
|
17
|
+
## Usage
|
18
|
+
|
19
|
+
To install the plugin, run:
|
20
|
+
|
21
|
+
```bash
|
22
|
+
pip install flake8-diff-only
|
23
|
+
```
|
flake8_diff_only-0.1.5/README.md
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
# Project: flake8-diff-only
|
2
|
-
|
3
|
-
## Description
|
4
|
-
This project provides a plugin for Flake8 that checks only the modified lines of files for Flake8 violations.
|
5
|
-
|
6
|
-
## Usage
|
7
|
-
|
8
|
-
To install the plugin, use the following command:
|
9
|
-
|
10
|
-
```bash
|
11
|
-
pip install flake8-diff-only
|
12
|
-
```
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|