prospector 1.10.3__py3-none-any.whl → 1.11.0__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/exceptions.py +0 -1
- prospector/formatters/pylint.py +0 -1
- prospector/formatters/vscode.py +0 -1
- prospector/formatters/xunit.py +0 -1
- prospector/suppression.py +1 -0
- prospector/tools/pylint/__init__.py +9 -2
- {prospector-1.10.3.dist-info → prospector-1.11.0.dist-info}/METADATA +7 -7
- {prospector-1.10.3.dist-info → prospector-1.11.0.dist-info}/RECORD +11 -11
- {prospector-1.10.3.dist-info → prospector-1.11.0.dist-info}/LICENSE +0 -0
- {prospector-1.10.3.dist-info → prospector-1.11.0.dist-info}/WHEEL +0 -0
- {prospector-1.10.3.dist-info → prospector-1.11.0.dist-info}/entry_points.txt +0 -0
prospector/exceptions.py
CHANGED
prospector/formatters/pylint.py
CHANGED
|
@@ -5,7 +5,6 @@ from prospector.formatters.base import Formatter
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
class PylintFormatter(Formatter):
|
|
8
|
-
|
|
9
8
|
"""
|
|
10
9
|
This formatter outputs messages in the same way as pylint -f parseable , which is used by several
|
|
11
10
|
tools to parse pylint output. This formatter is therefore a compatibility shim between tools built
|
prospector/formatters/vscode.py
CHANGED
prospector/formatters/xunit.py
CHANGED
|
@@ -4,7 +4,6 @@ from prospector.formatters.base import Formatter
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
class XunitFormatter(Formatter):
|
|
7
|
-
|
|
8
7
|
"""
|
|
9
8
|
This formatter outputs messages in the Xunit xml format, which is used by several
|
|
10
9
|
CI tools to parse output. This formatter is therefore a compatibility shim between tools built
|
prospector/suppression.py
CHANGED
|
@@ -5,7 +5,7 @@ from collections import defaultdict
|
|
|
5
5
|
from pathlib import Path
|
|
6
6
|
from typing import List
|
|
7
7
|
|
|
8
|
-
from pylint.config import
|
|
8
|
+
from pylint.config import find_default_config_files
|
|
9
9
|
from pylint.exceptions import UnknownMessageError
|
|
10
10
|
from pylint.lint.run import _cpu_count
|
|
11
11
|
|
|
@@ -177,7 +177,14 @@ class PylintTool(ToolBase):
|
|
|
177
177
|
# try to find a .pylintrc
|
|
178
178
|
pylintrc = pylint_options.get("config_file")
|
|
179
179
|
external_config = prospector_config.external_config_location("pylint")
|
|
180
|
-
|
|
180
|
+
|
|
181
|
+
pylintrc = pylintrc or external_config
|
|
182
|
+
|
|
183
|
+
if pylintrc is None:
|
|
184
|
+
for p in find_default_config_files():
|
|
185
|
+
pylintrc = str(p)
|
|
186
|
+
break
|
|
187
|
+
|
|
181
188
|
if pylintrc is None: # nothing explicitly configured
|
|
182
189
|
for possible in (".pylintrc", "pylintrc", "pyproject.toml", "setup.cfg"):
|
|
183
190
|
pylintrc_path = os.path.join(prospector_config.workdir, possible)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: prospector
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.11.0
|
|
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+
|
|
@@ -9,7 +9,7 @@ Author: Carl Crowder
|
|
|
9
9
|
Author-email: git@carlcrowder.com
|
|
10
10
|
Maintainer: Carl Crowder
|
|
11
11
|
Maintainer-email: git@carlcrowder.com
|
|
12
|
-
Requires-Python: >=3.
|
|
12
|
+
Requires-Python: >=3.8.1,<4.0
|
|
13
13
|
Classifier: Development Status :: 5 - Production/Stable
|
|
14
14
|
Classifier: Environment :: Console
|
|
15
15
|
Classifier: Intended Audience :: Developers
|
|
@@ -17,12 +17,12 @@ Classifier: License :: OSI Approved :: GNU General Public License v2 or later (G
|
|
|
17
17
|
Classifier: License :: Other/Proprietary License
|
|
18
18
|
Classifier: Operating System :: Unix
|
|
19
19
|
Classifier: Programming Language :: Python :: 3
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
21
20
|
Classifier: Programming Language :: Python :: 3.9
|
|
22
21
|
Classifier: Programming Language :: Python :: 3.10
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.10
|
|
24
23
|
Classifier: Programming Language :: Python :: 3.11
|
|
25
|
-
Classifier: Programming Language :: Python :: 3.
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
26
26
|
Classifier: Programming Language :: Python :: 3.8
|
|
27
27
|
Classifier: Programming Language :: Python :: 3.9
|
|
28
28
|
Classifier: Topic :: Software Development :: Quality Assurance
|
|
@@ -36,15 +36,15 @@ Requires-Dist: GitPython (>=3.1.27,<4.0.0)
|
|
|
36
36
|
Requires-Dist: PyYAML
|
|
37
37
|
Requires-Dist: bandit (>=1.5.1); extra == "with_bandit" or extra == "with_everything"
|
|
38
38
|
Requires-Dist: dodgy (>=0.2.1,<0.3.0)
|
|
39
|
-
Requires-Dist: flake8 (<
|
|
39
|
+
Requires-Dist: flake8 (<7.0.0)
|
|
40
40
|
Requires-Dist: mccabe (>=0.7.0,<0.8.0)
|
|
41
41
|
Requires-Dist: mypy (>=0.600); extra == "with_mypy" or extra == "with_everything"
|
|
42
42
|
Requires-Dist: packaging
|
|
43
43
|
Requires-Dist: pep8-naming (>=0.3.3,<=0.10.0)
|
|
44
44
|
Requires-Dist: pycodestyle (>=2.9.0)
|
|
45
45
|
Requires-Dist: pydocstyle (>=2.0.0)
|
|
46
|
-
Requires-Dist: pyflakes (>=2.2.0,<
|
|
47
|
-
Requires-Dist: pylint (>=2.8.3)
|
|
46
|
+
Requires-Dist: pyflakes (>=2.2.0,<4)
|
|
47
|
+
Requires-Dist: pylint (>=2.8.3,<3.0)
|
|
48
48
|
Requires-Dist: pylint-celery (==0.3)
|
|
49
49
|
Requires-Dist: pylint-django (>=2.5,<2.6)
|
|
50
50
|
Requires-Dist: pylint-flask (==0.6)
|
|
@@ -8,17 +8,17 @@ prospector/config/__init__.py,sha256=yUO3j4DwpCTP6p3In8NzIUDf8dMMyYw8eX28yAvOl0c
|
|
|
8
8
|
prospector/config/configuration.py,sha256=0upMM9OvW93rW8TIrtP7yo_n6MWCh1gfCDjVwx_CW2M,13905
|
|
9
9
|
prospector/config/datatype.py,sha256=YuiwM-t89DGAmiBvkGA3y3roTTIKMCveIZnXVsZaWSQ,628
|
|
10
10
|
prospector/encoding.py,sha256=3t4FjHgNlInyth7IYgBiJcD3a3iUYLdZQEBhNADx_44,1542
|
|
11
|
-
prospector/exceptions.py,sha256=
|
|
11
|
+
prospector/exceptions.py,sha256=Vlu5FB0cDUO1BOgDTqk49-zq-GrcaC2RtXFuuS1347Y,1290
|
|
12
12
|
prospector/finder.py,sha256=zys3GTJhmeNGWZvUozksHf0KCVDloE7jz9_v7NXvYQU,4723
|
|
13
13
|
prospector/formatters/__init__.py,sha256=WrpHaZlxndsoZaGbwyB-_pZ03_xfnuLlUgAVgE1lpEU,439
|
|
14
14
|
prospector/formatters/base.py,sha256=g3D-kQdVbcTDC4NG9IooC_9Ael01ZtSh2dpQPx9DIW8,1252
|
|
15
15
|
prospector/formatters/emacs.py,sha256=1OLeHgmhCxnhkGwlbD9LI8SE-t7QtcoQpCyT2S-pyEE,767
|
|
16
16
|
prospector/formatters/grouped.py,sha256=uTR-ESVlO93c-lWXUlTRYY9Vm7Phra1u-SXUlYiyhkw,1239
|
|
17
17
|
prospector/formatters/json.py,sha256=j2-nEd14KG2HV8iL2XY6Dn05chetl7A7gQyLzu9TYek,930
|
|
18
|
-
prospector/formatters/pylint.py,sha256=
|
|
18
|
+
prospector/formatters/pylint.py,sha256=b14vCi2Q9FjU0R8lKWtORQ7s23EOoObqQPFWV6hsurU,1740
|
|
19
19
|
prospector/formatters/text.py,sha256=jDNaIGr3FLou_u3ttuGjIVT9b3gjh2hRgfDO04l-E0o,3020
|
|
20
|
-
prospector/formatters/vscode.py,sha256=
|
|
21
|
-
prospector/formatters/xunit.py,sha256=
|
|
20
|
+
prospector/formatters/vscode.py,sha256=pK9JFY09yhHIlce9ZpBvIGfqLW3fQ2P407PdQSsmqto,1293
|
|
21
|
+
prospector/formatters/xunit.py,sha256=CeePyA7U25EL17-172t-IiIBJ6jV7EejQ8xNWKdNkIQ,2430
|
|
22
22
|
prospector/formatters/yaml.py,sha256=rfMC8clJuTUMefypz3zguh1nFFT1z8C-2TydQ5zehRU,613
|
|
23
23
|
prospector/message.py,sha256=UqnuCYMi6XM1SJHRAb6fquAreAoWSMX5z0Vv9Ub80vI,2732
|
|
24
24
|
prospector/pathutils.py,sha256=81z36CjcbTb0JtvOdH0_FmT99PjAW4NbTF0TxJF884A,1306
|
|
@@ -43,7 +43,7 @@ prospector/profiles/profiles/strictness_veryhigh.yaml,sha256=m93J1OzGCRVTWrIQbzh
|
|
|
43
43
|
prospector/profiles/profiles/strictness_verylow.yaml,sha256=YxZowcBtA3tAaHJGz2htTdAJ-AXmlHB-o4zEYKPRfJg,833
|
|
44
44
|
prospector/profiles/profiles/test_warnings.yaml,sha256=arUcV9MnqiZJEHURH9bVRSYDhYUegNc-ltFYe_yQW44,23
|
|
45
45
|
prospector/run.py,sha256=KL6IkqMg6r9UvNFYoBSBIJQpl1el75Ohr7EehcqCIyg,8102
|
|
46
|
-
prospector/suppression.py,sha256=
|
|
46
|
+
prospector/suppression.py,sha256=lcPLQa3sfj9Tdr_1oBVg8AjhNumB9GV5XCUIW31Pzhw,4468
|
|
47
47
|
prospector/tools/__init__.py,sha256=Iv215I3Opop0zXrFFFOmDFbGypWIQUjZm9t8Kq4hjrY,2651
|
|
48
48
|
prospector/tools/bandit/__init__.py,sha256=rfwYIf78CLRTpPjfnWoqn9dB7WsjIOLfod10hAboUqY,2212
|
|
49
49
|
prospector/tools/base.py,sha256=-Mj36ClqymzKl0WtigJd_3_8TZo2ZT4F3YIkj6tmv9Y,1575
|
|
@@ -55,15 +55,15 @@ prospector/tools/profile_validator/__init__.py,sha256=oIGcqLqgOQXZ3DRyGIzEEWBlyH
|
|
|
55
55
|
prospector/tools/pycodestyle/__init__.py,sha256=3e8bQWiuUuHPX8jVlZOPj78nSHlyRI7tc-YB3lV9TK8,5452
|
|
56
56
|
prospector/tools/pydocstyle/__init__.py,sha256=kwyvkT372J3rQrTK8MdhQMB8jHShoMu_Bcp0DXiA5Ts,2537
|
|
57
57
|
prospector/tools/pyflakes/__init__.py,sha256=VgIBmp2orCq2qe374ea9XP0-rudHs09y-SniSuLYvMk,4997
|
|
58
|
-
prospector/tools/pylint/__init__.py,sha256=
|
|
58
|
+
prospector/tools/pylint/__init__.py,sha256=BP0o0RtwihpbyfPcsWtXXJX38ie-88F411ESMYDbu3U,10032
|
|
59
59
|
prospector/tools/pylint/collector.py,sha256=TBvQpXWTcjIaIkZSEv7TWLz4VY9mgBM3xZaOmVz0N40,1334
|
|
60
60
|
prospector/tools/pylint/linter.py,sha256=hNxHO8wkcNjjQf-rPmXCpX-Enkt0lmapcrxIWwJiFkE,1820
|
|
61
61
|
prospector/tools/pyright/__init__.py,sha256=rpVe7XmEHCViQsyg6DN9sI5_b9tCO2fFeSuZfEqcaL8,2931
|
|
62
62
|
prospector/tools/pyroma/__init__.py,sha256=yf5TiA0fB2bxjtqwfod3ahx5hnFyk9iy6u6C3H6VF-4,2947
|
|
63
63
|
prospector/tools/utils.py,sha256=rOGn_FAiLHG9CS6KzE8FAJzXkEJMzdFYS29U19Ad7bA,1161
|
|
64
64
|
prospector/tools/vulture/__init__.py,sha256=blzCrLQkGsvUuD6pp5ST3vgwvHvQ7jv-kqgY_Lukh1Q,3058
|
|
65
|
-
prospector-1.
|
|
66
|
-
prospector-1.
|
|
67
|
-
prospector-1.
|
|
68
|
-
prospector-1.
|
|
69
|
-
prospector-1.
|
|
65
|
+
prospector-1.11.0.dist-info/entry_points.txt,sha256=SxvCGt8MJTEZefHAvwnUc6jDetgCaaYY1Zpifuk8tqU,50
|
|
66
|
+
prospector-1.11.0.dist-info/LICENSE,sha256=WoTRadDy8VbcIKoVzl5Q1QipuD_cexAf3ul4MaVLttc,18044
|
|
67
|
+
prospector-1.11.0.dist-info/WHEEL,sha256=gSF7fibx4crkLz_A-IKR6kcuq0jJ64KNCkG8_bcaEao,88
|
|
68
|
+
prospector-1.11.0.dist-info/METADATA,sha256=UthQhxdRGU81ajTG8DBnac9lYdGLb9L5DNNQh8cIPQo,10008
|
|
69
|
+
prospector-1.11.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|