prospector 1.14.0__py3-none-any.whl → 1.14.1__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.
@@ -1,5 +1,6 @@
1
1
  import json
2
2
  import subprocess # nosec
3
+ from pathlib import Path
3
4
  from typing import TYPE_CHECKING, Any
4
5
 
5
6
  from ruff.__main__ import find_ruff_bin
@@ -65,6 +66,8 @@ class RuffTool(ToolBase):
65
66
  if sub_message:
66
67
  message_str += f" [{', '.join(f'{k}: {v}' for k, v in sub_message.items())}]"
67
68
 
69
+ if message.get("filename") is None or found_files.is_excluded(Path(message.get("filename"))):
70
+ continue
68
71
  messages.append(
69
72
  Message(
70
73
  "ruff",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: prospector
3
- Version: 1.14.0
3
+ Version: 1.14.1
4
4
  Summary: Prospector is a tool to analyse Python code by aggregating the result of other tools.
5
5
  Home-page: http://prospector.readthedocs.io
6
6
  License: GPLv2+
@@ -62,11 +62,11 @@ prospector/tools/pylint/collector.py,sha256=7FHgO6OOLGD15_U4DERiXyEbSFnMjGUBeCwd
62
62
  prospector/tools/pylint/linter.py,sha256=YQ9SOna4WjbbauqSgUio6Ss8zN08PCr3aKdK9rMi7Ag,2143
63
63
  prospector/tools/pyright/__init__.py,sha256=USqauZofh-8ZSKGwXRXoaM2ItzfSFo2nGwPtLGEWICU,3346
64
64
  prospector/tools/pyroma/__init__.py,sha256=GPQRJZfbs_SI0RBTyySz-4SIuM__YoLfXAm7uYVXAS8,3151
65
- prospector/tools/ruff/__init__.py,sha256=4ieK1lWmJMW27LvLNcnkufZFexU46N2Cu5Qv_y-BIfk,3525
65
+ prospector/tools/ruff/__init__.py,sha256=AL0QIMS-Bf5CyMQRODM2vTkKpI5Z3BjmkDfgM94hSK0,3681
66
66
  prospector/tools/utils.py,sha256=cRCogsMCH0lPBhdujPsIY0ovNAL6TAxBMohZRES02-4,1770
67
67
  prospector/tools/vulture/__init__.py,sha256=eaTh4X5onNlBMuz1x0rmcRn7x5XDVDgqftjIEd47eWI,3583
68
- prospector-1.14.0.dist-info/entry_points.txt,sha256=SxvCGt8MJTEZefHAvwnUc6jDetgCaaYY1Zpifuk8tqU,50
69
- prospector-1.14.0.dist-info/LICENSE,sha256=WoTRadDy8VbcIKoVzl5Q1QipuD_cexAf3ul4MaVLttc,18044
70
- prospector-1.14.0.dist-info/WHEEL,sha256=gSF7fibx4crkLz_A-IKR6kcuq0jJ64KNCkG8_bcaEao,88
71
- prospector-1.14.0.dist-info/METADATA,sha256=BnLIKymjwtohSKYyDAoaWKTQHWNoMA9RTVN4ka7v_As,9962
72
- prospector-1.14.0.dist-info/RECORD,,
68
+ prospector-1.14.1.dist-info/entry_points.txt,sha256=SxvCGt8MJTEZefHAvwnUc6jDetgCaaYY1Zpifuk8tqU,50
69
+ prospector-1.14.1.dist-info/LICENSE,sha256=WoTRadDy8VbcIKoVzl5Q1QipuD_cexAf3ul4MaVLttc,18044
70
+ prospector-1.14.1.dist-info/WHEEL,sha256=gSF7fibx4crkLz_A-IKR6kcuq0jJ64KNCkG8_bcaEao,88
71
+ prospector-1.14.1.dist-info/METADATA,sha256=jpsNU0hNrkaSapBqKVB3y3dnQhn2sNnFr3cgFz2dTds,9962
72
+ prospector-1.14.1.dist-info/RECORD,,