lintro 0.6.1__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 CHANGED
@@ -1,3 +1,3 @@
1
1
  """Lintro - A unified CLI core for code formatting, linting, and quality assurance."""
2
2
 
3
- __version__ = "0.6.1"
3
+ __version__ = "0.6.3"
@@ -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
- return Tool.to_result(
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.1
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
@@ -50,7 +50,7 @@ Requires-Dist: toml==0.10.2
50
50
  Requires-Dist: defusedxml==0.7.1
51
51
  Provides-Extra: dev
52
52
  Requires-Dist: pytest==8.4.2; extra == "dev"
53
- Requires-Dist: pytest-cov==6.2.1; extra == "dev"
53
+ Requires-Dist: pytest-cov==6.3.0; extra == "dev"
54
54
  Requires-Dist: pytest-mock==3.15.0; extra == "dev"
55
55
  Requires-Dist: pytest-xdist==3.8.0; extra == "dev"
56
56
  Requires-Dist: tox==4.30.1; extra == "dev"
@@ -63,7 +63,7 @@ Requires-Dist: assertpy==1.1; extra == "dev"
63
63
  Requires-Dist: httpx==0.28.1; extra == "dev"
64
64
  Provides-Extra: test
65
65
  Requires-Dist: pytest==8.4.2; extra == "test"
66
- Requires-Dist: pytest-cov==6.2.1; extra == "test"
66
+ Requires-Dist: pytest-cov==6.3.0; extra == "test"
67
67
  Requires-Dist: pytest-mock==3.15.0; extra == "test"
68
68
  Requires-Dist: pytest-xdist==3.8.0; extra == "test"
69
69
  Requires-Dist: assertpy==1.1; extra == "test"
@@ -93,6 +93,8 @@ Lintro is a unified command-line interface that brings together multiple code qu
93
93
  [![CodeQL](https://github.com/TurboCoder13/py-lintro/actions/workflows/codeql.yml/badge.svg?branch=main)](https://github.com/TurboCoder13/py-lintro/actions/workflows/codeql.yml?query=branch%3Amain)
94
94
  [![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/TurboCoder13/py-lintro/badge)](https://scorecard.dev/viewer/?uri=github.com/TurboCoder13/py-lintro)
95
95
 
96
+ [![OpenSSF Best Practices](https://www.bestpractices.dev/projects/11142/badge)](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=iVHu0cWG3jPaOrHoh7O4ufJu2PEAmY16K85arROjKF8,110
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=ecpeG0sqbTRIQ5KziiwN8gmlPzoKHebdC2AkEKHUWrk,9447
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.1.dist-info/licenses/LICENSE,sha256=CwaAnyD2psonDBBJjbqFUz00W8nQw-FGDlEGZReUV6A,1069
92
- lintro-0.6.1.dist-info/METADATA,sha256=Qj8F7RNDq8rH8V-PH2O8SZngM7r4BdU4kexMz9XDLHE,13881
93
- lintro-0.6.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
94
- lintro-0.6.1.dist-info/entry_points.txt,sha256=SYSk35jFyNLEHyrofSJsRv4qFN9NsT4VWSbvnTS9ov0,43
95
- lintro-0.6.1.dist-info/top_level.txt,sha256=_D-7eyV6gNBOoIwHuf_h60wN_RWiw8GxB430Il9VKhU,7
96
- lintro-0.6.1.dist-info/RECORD,,
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