lintro 0.6.2__py3-none-any.whl → 0.6.3__py3-none-any.whl
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.
Potentially problematic release.
This version of lintro might be problematic. Click here for more details.
- lintro/__init__.py +1 -1
- lintro/tools/implementations/tool_prettier.py +7 -1
- {lintro-0.6.2.dist-info → lintro-0.6.3.dist-info}/METADATA +3 -1
- {lintro-0.6.2.dist-info → lintro-0.6.3.dist-info}/RECORD +8 -8
- {lintro-0.6.2.dist-info → lintro-0.6.3.dist-info}/WHEEL +0 -0
- {lintro-0.6.2.dist-info → lintro-0.6.3.dist-info}/entry_points.txt +0 -0
- {lintro-0.6.2.dist-info → lintro-0.6.3.dist-info}/licenses/LICENSE +0 -0
- {lintro-0.6.2.dist-info → lintro-0.6.3.dist-info}/top_level.txt +0 -0
lintro/__init__.py
CHANGED
|
@@ -142,11 +142,14 @@ class PrettierTool(BaseTool):
|
|
|
142
142
|
# so the unified logger prints a single, consistent success line.
|
|
143
143
|
if success:
|
|
144
144
|
output = None
|
|
145
|
-
|
|
145
|
+
|
|
146
|
+
# Return full ToolResult so table rendering can use parsed issues
|
|
147
|
+
return ToolResult(
|
|
146
148
|
name=self.name,
|
|
147
149
|
success=success,
|
|
148
150
|
output=output,
|
|
149
151
|
issues_count=issues_count,
|
|
152
|
+
issues=issues,
|
|
150
153
|
)
|
|
151
154
|
|
|
152
155
|
def fix(
|
|
@@ -264,6 +267,9 @@ class PrettierTool(BaseTool):
|
|
|
264
267
|
output=final_output,
|
|
265
268
|
# For fix operations, issues_count represents remaining for summaries
|
|
266
269
|
issues_count=remaining_count,
|
|
270
|
+
# Provide issues so formatters can render tables. Use initial issues
|
|
271
|
+
# (auto-fixable set) for display; fall back to remaining when none.
|
|
272
|
+
issues=(initial_issues if initial_issues else remaining_issues),
|
|
267
273
|
initial_issues_count=initial_count,
|
|
268
274
|
fixed_issues_count=fixed_count,
|
|
269
275
|
remaining_issues_count=remaining_count,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: lintro
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.3
|
|
4
4
|
Summary: A unified CLI tool for code formatting, linting, and quality assurance
|
|
5
5
|
Author-email: TurboCoder13 <turbocoder13@gmail.com>
|
|
6
6
|
License: MIT License
|
|
@@ -93,6 +93,8 @@ Lintro is a unified command-line interface that brings together multiple code qu
|
|
|
93
93
|
[](https://github.com/TurboCoder13/py-lintro/actions/workflows/codeql.yml?query=branch%3Amain)
|
|
94
94
|
[](https://scorecard.dev/viewer/?uri=github.com/TurboCoder13/py-lintro)
|
|
95
95
|
|
|
96
|
+
[](https://www.bestpractices.dev/projects/11142)
|
|
97
|
+
|
|
96
98
|
### Why Lintro?
|
|
97
99
|
|
|
98
100
|
- **🚀 Unified Interface**: One command to run all your linting and formatting tools
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
lintro/__init__.py,sha256=
|
|
1
|
+
lintro/__init__.py,sha256=cQjQ_-sMmmGeDrbNA4LWj8fB771MYMaEGDUivJVugXA,110
|
|
2
2
|
lintro/__main__.py,sha256=McxM6wEcEeCLBHZs0F8xzT1PxVqJYkjtaPq1_-Nug-0,106
|
|
3
3
|
lintro/cli.py,sha256=Fy5nqdSg4id0gjGbPy82wRTK3aZMWbRdRDnwAbIv-vs,2333
|
|
4
4
|
lintro/ascii-art/fail.txt,sha256=gshKngSrz5FvJdP6g7lPygpLsLsZZh4etBU_wR7PXOw,56396
|
|
@@ -76,7 +76,7 @@ lintro/tools/implementations/tool_bandit.py,sha256=Ck1fT8I9CSRTJ8zYqXYsVMQ_-HSp_
|
|
|
76
76
|
lintro/tools/implementations/tool_black.py,sha256=x1U6NhdRxxYE5Tmvh-LoxcWtIkwHceeJWMUROa9tAJ4,9680
|
|
77
77
|
lintro/tools/implementations/tool_darglint.py,sha256=zj8hQ8bVW3fwO8dsK9tdXzyL1yzZvqiEetVGvxhGe4g,9396
|
|
78
78
|
lintro/tools/implementations/tool_hadolint.py,sha256=NfHLoThp23V-n5chSfrBZetleXsRR4oYxkLxOkJxU0g,11479
|
|
79
|
-
lintro/tools/implementations/tool_prettier.py,sha256=
|
|
79
|
+
lintro/tools/implementations/tool_prettier.py,sha256=tTw3yEn6RR2rCBoZdeDWy6r06Sfd_jCR2fLCBj4MDoY,9783
|
|
80
80
|
lintro/tools/implementations/tool_ruff.py,sha256=8WIpOKSc6HmuvEFCWgTqBX9X4T3MSD-RKesv4bs2lpQ,25361
|
|
81
81
|
lintro/tools/implementations/tool_yamllint.py,sha256=0powR9F3FkIq-b7PI0-XWdh7nx7rR3HVMtvEaz_NWeA,8831
|
|
82
82
|
lintro/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -88,9 +88,9 @@ lintro/utils/output_manager.py,sha256=oIE0g8LNVQcWSQOb1MbDVqGYPrOjBGuUZ4R80M1Rev
|
|
|
88
88
|
lintro/utils/path_utils.py,sha256=NJP3vjVDcRBgUHtYNrpL0tRa0Sc3oQhGX3_2WWzdZE4,1395
|
|
89
89
|
lintro/utils/tool_executor.py,sha256=8-m7nQKLRlKHBTvzT7iLmaHYZ3-2s0t4zUbC-py8-H8,26204
|
|
90
90
|
lintro/utils/tool_utils.py,sha256=zobweCIANBxXxHUERajFDshQyZGlEnJPQ52NleOrDdQ,15884
|
|
91
|
-
lintro-0.6.
|
|
92
|
-
lintro-0.6.
|
|
93
|
-
lintro-0.6.
|
|
94
|
-
lintro-0.6.
|
|
95
|
-
lintro-0.6.
|
|
96
|
-
lintro-0.6.
|
|
91
|
+
lintro-0.6.3.dist-info/licenses/LICENSE,sha256=CwaAnyD2psonDBBJjbqFUz00W8nQw-FGDlEGZReUV6A,1069
|
|
92
|
+
lintro-0.6.3.dist-info/METADATA,sha256=uuKE-xJ6IVqWBd-tlDjSa-63KDUOln47p-eCmGAxBLk,14008
|
|
93
|
+
lintro-0.6.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
94
|
+
lintro-0.6.3.dist-info/entry_points.txt,sha256=SYSk35jFyNLEHyrofSJsRv4qFN9NsT4VWSbvnTS9ov0,43
|
|
95
|
+
lintro-0.6.3.dist-info/top_level.txt,sha256=_D-7eyV6gNBOoIwHuf_h60wN_RWiw8GxB430Il9VKhU,7
|
|
96
|
+
lintro-0.6.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|