prospector 1.15.0__py3-none-any.whl → 1.15.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.
- prospector/blender_combinations.yaml +0 -1
- prospector/tools/mypy/__init__.py +6 -1
- {prospector-1.15.0.dist-info → prospector-1.15.1.dist-info}/METADATA +1 -1
- {prospector-1.15.0.dist-info → prospector-1.15.1.dist-info}/RECORD +7 -7
- {prospector-1.15.0.dist-info → prospector-1.15.1.dist-info}/LICENSE +0 -0
- {prospector-1.15.0.dist-info → prospector-1.15.1.dist-info}/WHEEL +0 -0
- {prospector-1.15.0.dist-info → prospector-1.15.1.dist-info}/entry_points.txt +0 -0
|
@@ -102,6 +102,11 @@ class MypyTool(ToolBase):
|
|
|
102
102
|
|
|
103
103
|
raise BadToolConfig("mypy", f"The option {name} has an unsupported value type: {type(value)}")
|
|
104
104
|
|
|
105
|
+
for code in prospector_config.get_disabled_messages("mypy"):
|
|
106
|
+
self.options.append(f"--disable-error-code={code}")
|
|
107
|
+
for code in prospector_config.get_enabled_messages("mypy"):
|
|
108
|
+
self.options.append(f"--enable-error-code={code}")
|
|
109
|
+
|
|
105
110
|
def run(self, found_files: FileFinder) -> list[Message]:
|
|
106
111
|
args = [str(path) for path in found_files.python_modules]
|
|
107
112
|
args.extend(self.options)
|
|
@@ -129,7 +134,7 @@ class MypyTool(ToolBase):
|
|
|
129
134
|
mypy_message = json.loads(mypy_json)
|
|
130
135
|
message = f"{mypy_message['message']}."
|
|
131
136
|
if mypy_message.get("hint", ""):
|
|
132
|
-
message = f"{message}
|
|
137
|
+
message = f"{message} {mypy_message['hint']}."
|
|
133
138
|
code = mypy_message["code"]
|
|
134
139
|
messages.append(
|
|
135
140
|
Message(
|
|
@@ -2,7 +2,7 @@ prospector/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
2
2
|
prospector/__main__.py,sha256=-gdHYZxwq_P8er7HuZEBImY0pwaFq8uIa78dQdJsTTQ,71
|
|
3
3
|
prospector/autodetect.py,sha256=Ok8S6jpDiGyhQlnRCMWpsLpSAIXWxA-NQphQuPaOm6o,3112
|
|
4
4
|
prospector/blender.py,sha256=ldQSkfoEKv6pd72B9YCYdapeGUzgfhGzieAu7To3l6Y,4926
|
|
5
|
-
prospector/blender_combinations.yaml,sha256=
|
|
5
|
+
prospector/blender_combinations.yaml,sha256=v17n7matAIfwRxXYt0Wm1nARtfn4VYNF40_s528w0YQ,30799
|
|
6
6
|
prospector/compat.py,sha256=p_2BOebzUcKbUAd7mW8rn6tIc10R96gJuZS71QI0XY4,360
|
|
7
7
|
prospector/config/__init__.py,sha256=4nYshBncKUvZrwNKmp2bQ2mQ8uRS7GU20xPbiC-nJ9g,14793
|
|
8
8
|
prospector/config/configuration.py,sha256=sNYR5Jc3P7tfIDXQoDMrOX4i2Yde0o9bc21ZXZNn6rw,14046
|
|
@@ -52,7 +52,7 @@ prospector/tools/base.py,sha256=xL_uUbhZUyPrDU-2ntgmzhs-DW1e5sfDKb_OA7VtxKQ,2146
|
|
|
52
52
|
prospector/tools/dodgy/__init__.py,sha256=howLCjFEheW_6ZoyQ15gLbiNNNUr0Pm2qNpLg3kleFY,1648
|
|
53
53
|
prospector/tools/exceptions.py,sha256=Q-u4n6YzZuoMu17XkeKac1o1gBY36JK4MnvWaYrVYL0,170
|
|
54
54
|
prospector/tools/mccabe/__init__.py,sha256=80-aYPqKCREeBqxiIUgsDvxc_GqYxHb5R0JduKHPRaE,3277
|
|
55
|
-
prospector/tools/mypy/__init__.py,sha256=
|
|
55
|
+
prospector/tools/mypy/__init__.py,sha256=MLFBEnICTsLNO2piwRbcrWIv12ddgIqnQSuq43CRGTc,5350
|
|
56
56
|
prospector/tools/profile_validator/__init__.py,sha256=bAkVG-fKtm3WaEv-We36wqzvtqWv4s06Z7YnRVG7UQ4,8326
|
|
57
57
|
prospector/tools/pycodestyle/__init__.py,sha256=uMpUxqsPsryEsfyfGxpLzwoWUjIvfxIQke4Xvkfbi9A,5970
|
|
58
58
|
prospector/tools/pydocstyle/__init__.py,sha256=WB-AT-c1FeUUUWATUzJbBLeREtu-lxT03bChh4nablo,2776
|
|
@@ -65,8 +65,8 @@ prospector/tools/pyroma/__init__.py,sha256=GPQRJZfbs_SI0RBTyySz-4SIuM__YoLfXAm7u
|
|
|
65
65
|
prospector/tools/ruff/__init__.py,sha256=r55pEbmjLFWmY1jiQ7aZ2OYBxkEAH5An3-CpL04rdc0,3915
|
|
66
66
|
prospector/tools/utils.py,sha256=cRCogsMCH0lPBhdujPsIY0ovNAL6TAxBMohZRES02-4,1770
|
|
67
67
|
prospector/tools/vulture/__init__.py,sha256=eaTh4X5onNlBMuz1x0rmcRn7x5XDVDgqftjIEd47eWI,3583
|
|
68
|
-
prospector-1.15.
|
|
69
|
-
prospector-1.15.
|
|
70
|
-
prospector-1.15.
|
|
71
|
-
prospector-1.15.
|
|
72
|
-
prospector-1.15.
|
|
68
|
+
prospector-1.15.1.dist-info/entry_points.txt,sha256=SxvCGt8MJTEZefHAvwnUc6jDetgCaaYY1Zpifuk8tqU,50
|
|
69
|
+
prospector-1.15.1.dist-info/LICENSE,sha256=WoTRadDy8VbcIKoVzl5Q1QipuD_cexAf3ul4MaVLttc,18044
|
|
70
|
+
prospector-1.15.1.dist-info/WHEEL,sha256=gSF7fibx4crkLz_A-IKR6kcuq0jJ64KNCkG8_bcaEao,88
|
|
71
|
+
prospector-1.15.1.dist-info/METADATA,sha256=I9KCwjkk07gPH7NW439cOJ4WyC_L-SJjPQy2UTKjq0o,9962
|
|
72
|
+
prospector-1.15.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|