prospector 1.17.2__py3-none-any.whl → 1.18.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.
@@ -448,6 +448,10 @@ combinations:
448
448
  - pylint: W0212
449
449
  - ruff: SLF001
450
450
 
451
+ - # `import` should be at the top-level of a file
452
+ - ruff: PLC0415
453
+ - pylint: import-outside-toplevel
454
+
451
455
  # assert_used
452
456
  - - ruff: S101
453
457
  - bandit: B101
@@ -1,8 +1,9 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: prospector
3
- Version: 1.17.2
3
+ Version: 1.18.0
4
4
  Summary: Prospector is a tool to analyse Python code by aggregating the result of other tools.
5
5
  License: GPLv2+
6
+ License-File: LICENSE
6
7
  Keywords: prospector,pylint,static code analysis
7
8
  Author: Carl Crowder
8
9
  Author-email: git@carlcrowder.com
@@ -20,6 +21,7 @@ Classifier: Programming Language :: Python :: 3.10
20
21
  Classifier: Programming Language :: Python :: 3.11
21
22
  Classifier: Programming Language :: Python :: 3.12
22
23
  Classifier: Programming Language :: Python :: 3.13
24
+ Classifier: Programming Language :: Python :: 3.14
23
25
  Classifier: Topic :: Software Development :: Quality Assurance
24
26
  Provides-Extra: with-bandit
25
27
  Provides-Extra: with-everything
@@ -28,7 +30,6 @@ Provides-Extra: with-pyright
28
30
  Provides-Extra: with-pyroma
29
31
  Provides-Extra: with-ruff
30
32
  Provides-Extra: with-vulture
31
- Requires-Dist: GitPython (>=3.1.27,<4.0.0)
32
33
  Requires-Dist: PyYAML
33
34
  Requires-Dist: bandit ; extra == "with-bandit"
34
35
  Requires-Dist: bandit ; extra == "with-everything"
@@ -41,14 +42,14 @@ Requires-Dist: pep8-naming (>=0.3.3,<=0.10.0)
41
42
  Requires-Dist: pycodestyle (>=2.9.0)
42
43
  Requires-Dist: pydocstyle (>=2.0.0)
43
44
  Requires-Dist: pyflakes (>=2.2.0)
44
- Requires-Dist: pylint (>=3.0)
45
+ Requires-Dist: pylint (>=4.0)
45
46
  Requires-Dist: pylint-celery (==0.3)
46
47
  Requires-Dist: pylint-django (>=2.6.1)
47
48
  Requires-Dist: pyright ; extra == "with-everything"
48
49
  Requires-Dist: pyright ; extra == "with-pyright"
49
50
  Requires-Dist: pyroma ; extra == "with-everything"
50
51
  Requires-Dist: pyroma ; extra == "with-pyroma"
51
- Requires-Dist: requirements-detector (>=1.3.2)
52
+ Requires-Dist: requirements-detector (>=1.5.0)
52
53
  Requires-Dist: ruff ; extra == "with-everything"
53
54
  Requires-Dist: ruff ; extra == "with-ruff"
54
55
  Requires-Dist: setoptconf-tmp (>=0.3.1,<0.4.0)
@@ -206,7 +207,9 @@ pre-commit
206
207
 
207
208
  If you'd like Prospector to be run automatically when making changes to files in your Git
208
209
  repository, you can install `pre-commit <https://pre-commit.com/>`_ and add the following
209
- text to your repositories' ``.pre-commit-config.yaml``::
210
+ text to your repositories' ``.pre-commit-config.yaml``:
211
+
212
+ .. code-block:: yaml
210
213
 
211
214
  repos:
212
215
  - repo: https://github.com/PyCQA/prospector
@@ -215,7 +218,9 @@ text to your repositories' ``.pre-commit-config.yaml``::
215
218
  - id: prospector
216
219
 
217
220
  This only installs base prospector - if you also use optional tools, for example bandit and/or mypy, then you can add
218
- them to the hook configuration like so::
221
+ them to the hook configuration like so:
222
+
223
+ .. code-block:: yaml
219
224
 
220
225
  repos:
221
226
  - repo: https://github.com/PyCQA/prospector
@@ -229,7 +234,9 @@ them to the hook configuration like so::
229
234
  '--with-tool=bandit',
230
235
  ]
231
236
 
232
- Additional dependencies can be `individually configured <https://prospector.landscape.io/en/master/profiles.html#individual-configuration-options>`_ in your `prospector.yml` file ::
237
+ Additional dependencies can be `individually configured <https://prospector.landscape.io/en/master/profiles.html#individual-configuration-options>`_ in your `prospector.yml` file :
238
+
239
+ .. code-block:: yaml
233
240
 
234
241
  # https://bandit.readthedocs.io/en/latest/config.html
235
242
  bandit:
@@ -247,7 +254,9 @@ Additional dependencies can be `individually configured <https://prospector.land
247
254
  ignore-missing-imports: true
248
255
 
249
256
  For prospector options which affect display only - those which are not configurable using a profile - these can be
250
- added as command line arguments to the hook. For example::
257
+ added as command line arguments to the hook. For example:
258
+
259
+ .. code-block:: yaml
251
260
 
252
261
  repos:
253
262
  - repo: https://github.com/PyCQA/prospector
@@ -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=sUcayzZjLGESxoPDN_t4_amOAnh9bwKX-9ANBlprP8k,3103
4
4
  prospector/blender.py,sha256=ldQSkfoEKv6pd72B9YCYdapeGUzgfhGzieAu7To3l6Y,4926
5
- prospector/blender_combinations.yaml,sha256=1_2R_RpPuZXbExkUe3UZ55c02EfvO36vCfEp_WCSoFk,32889
5
+ prospector/blender_combinations.yaml,sha256=Xf0LSu_xO4lz7S9EJ5rQd99cgUXcDFeJlvu_EojM0HE,33000
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=g56TfwgOtEr_7O9P2S6hYo2edYiH3sTn8MVkKssqSn8,14034
@@ -67,8 +67,8 @@ prospector/tools/pyroma/__init__.py,sha256=GPQRJZfbs_SI0RBTyySz-4SIuM__YoLfXAm7u
67
67
  prospector/tools/ruff/__init__.py,sha256=vQLBI7PvrnKIUVbi3XKSES6mH5UUz99X2QNBk3QAIAI,3932
68
68
  prospector/tools/utils.py,sha256=cRCogsMCH0lPBhdujPsIY0ovNAL6TAxBMohZRES02-4,1770
69
69
  prospector/tools/vulture/__init__.py,sha256=eaTh4X5onNlBMuz1x0rmcRn7x5XDVDgqftjIEd47eWI,3583
70
- prospector-1.17.2.dist-info/LICENSE,sha256=WoTRadDy8VbcIKoVzl5Q1QipuD_cexAf3ul4MaVLttc,18044
71
- prospector-1.17.2.dist-info/METADATA,sha256=JIK6t4o6Hl60zjYAMDP5Ewge5lYTi1Gjr3SP6mTZhr8,9923
72
- prospector-1.17.2.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
73
- prospector-1.17.2.dist-info/entry_points.txt,sha256=SxvCGt8MJTEZefHAvwnUc6jDetgCaaYY1Zpifuk8tqU,50
74
- prospector-1.17.2.dist-info/RECORD,,
70
+ prospector-1.18.0.dist-info/METADATA,sha256=6drMc-h7d6hvgfZ-2jarjcSYHvO8kdPVHchOJrfVpxA,10037
71
+ prospector-1.18.0.dist-info/WHEEL,sha256=kJCRJT_g0adfAJzTx2GUMmS80rTJIVHRCfG0DQgLq3o,88
72
+ prospector-1.18.0.dist-info/entry_points.txt,sha256=SxvCGt8MJTEZefHAvwnUc6jDetgCaaYY1Zpifuk8tqU,50
73
+ prospector-1.18.0.dist-info/licenses/LICENSE,sha256=WoTRadDy8VbcIKoVzl5Q1QipuD_cexAf3ul4MaVLttc,18044
74
+ prospector-1.18.0.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 2.1.3
2
+ Generator: poetry-core 2.3.1
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any