flake8-diff-only 0.1.7__tar.gz → 0.1.8__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: flake8-diff-only
3
- Version: 0.1.7
3
+ Version: 0.1.8
4
4
  Summary: Flake8 plugin to show errors only on changed lines
5
5
  License: MIT
6
6
  Keywords: flake8,plugin,quotes,code quality
@@ -51,3 +51,5 @@ To install the plugin, run:
51
51
  pip install flake8-diff-only
52
52
  ```
53
53
 
54
+ To activate this plugin you need to add `--diff-only` on `flake8` calling.
55
+
@@ -21,3 +21,5 @@ To install the plugin, run:
21
21
  ```bash
22
22
  pip install flake8-diff-only
23
23
  ```
24
+
25
+ To activate this plugin you need to add `--diff-only` on `flake8` calling.
@@ -1 +1 @@
1
- from flake8_diff_only import patch # noqa: F401
1
+ from flake8_diff_only import patch # noqa: F401
@@ -1,10 +1,13 @@
1
1
  import ast
2
+ from importlib.metadata import version as _version
2
3
  from typing import Any, ClassVar
3
4
 
5
+ __version__ = _version("flake8-diff-only")
6
+
4
7
 
5
8
  class Flake8DiffOnlyChecker:
6
9
  name = "flake8-diff-only"
7
- version = "0.1.7"
10
+ version = __version__
8
11
 
9
12
  enabled: ClassVar[bool] = False
10
13
 
@@ -4,7 +4,7 @@ requires = [ "poetry-core>=2.0" ]
4
4
 
5
5
  [project]
6
6
  name = "flake8-diff-only"
7
- version = "0.1.7"
7
+ version = "0.1.8"
8
8
  description = "Flake8 plugin to show errors only on changed lines"
9
9
  readme = "README.md"
10
10