prospector 1.17.1__py3-none-any.whl → 1.17.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.
@@ -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
@@ -1351,3 +1355,15 @@ combinations:
1351
1355
  - # Use lazy % formatting in logging functions
1352
1356
  - pylint: logging-fstring-interpolation
1353
1357
  - ruff: G004
1358
+
1359
+ - # No name '{}' in module '{}'
1360
+ - pylint: no-name-in-module
1361
+ - mypy: attr-defined
1362
+
1363
+ - # Module '{}' has no '{}' member
1364
+ - pylint: no-member
1365
+ - mypy: attr-defined
1366
+
1367
+ - # Missing return type annotation for public function `{}` [Fix applicability: unsafe]
1368
+ - ruff: ANN201
1369
+ - mypy: no-untyped-def
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: prospector
3
- Version: 1.17.1
3
+ Version: 1.17.3
4
4
  Summary: Prospector is a tool to analyse Python code by aggregating the result of other tools.
5
5
  License: GPLv2+
6
6
  Keywords: prospector,pylint,static code analysis
@@ -28,7 +28,6 @@ Provides-Extra: with-pyright
28
28
  Provides-Extra: with-pyroma
29
29
  Provides-Extra: with-ruff
30
30
  Provides-Extra: with-vulture
31
- Requires-Dist: GitPython (>=3.1.27,<4.0.0)
32
31
  Requires-Dist: PyYAML
33
32
  Requires-Dist: bandit ; extra == "with-bandit"
34
33
  Requires-Dist: bandit ; extra == "with-everything"
@@ -206,7 +205,9 @@ pre-commit
206
205
 
207
206
  If you'd like Prospector to be run automatically when making changes to files in your Git
208
207
  repository, you can install `pre-commit <https://pre-commit.com/>`_ and add the following
209
- text to your repositories' ``.pre-commit-config.yaml``::
208
+ text to your repositories' ``.pre-commit-config.yaml``:
209
+
210
+ .. code-block:: yaml
210
211
 
211
212
  repos:
212
213
  - repo: https://github.com/PyCQA/prospector
@@ -215,7 +216,9 @@ text to your repositories' ``.pre-commit-config.yaml``::
215
216
  - id: prospector
216
217
 
217
218
  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::
219
+ them to the hook configuration like so:
220
+
221
+ .. code-block:: yaml
219
222
 
220
223
  repos:
221
224
  - repo: https://github.com/PyCQA/prospector
@@ -229,7 +232,9 @@ them to the hook configuration like so::
229
232
  '--with-tool=bandit',
230
233
  ]
231
234
 
232
- Additional dependencies can be `individually configured <https://prospector.landscape.io/en/master/profiles.html#individual-configuration-options>`_ in your `prospector.yml` file ::
235
+ Additional dependencies can be `individually configured <https://prospector.landscape.io/en/master/profiles.html#individual-configuration-options>`_ in your `prospector.yml` file :
236
+
237
+ .. code-block:: yaml
233
238
 
234
239
  # https://bandit.readthedocs.io/en/latest/config.html
235
240
  bandit:
@@ -247,7 +252,9 @@ Additional dependencies can be `individually configured <https://prospector.land
247
252
  ignore-missing-imports: true
248
253
 
249
254
  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::
255
+ added as command line arguments to the hook. For example:
256
+
257
+ .. code-block:: yaml
251
258
 
252
259
  repos:
253
260
  - 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=YVoX4i6UmsVMVPPO87RD8zACj4U5V0gdprobc3kg8hw,32573
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.1.dist-info/LICENSE,sha256=WoTRadDy8VbcIKoVzl5Q1QipuD_cexAf3ul4MaVLttc,18044
71
- prospector-1.17.1.dist-info/METADATA,sha256=g6nefW7t8uCSbteVM2xTeKZ3btPfnZwNiNP-hd3ZR2c,9923
72
- prospector-1.17.1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
73
- prospector-1.17.1.dist-info/entry_points.txt,sha256=SxvCGt8MJTEZefHAvwnUc6jDetgCaaYY1Zpifuk8tqU,50
74
- prospector-1.17.1.dist-info/RECORD,,
70
+ prospector-1.17.3.dist-info/LICENSE,sha256=WoTRadDy8VbcIKoVzl5Q1QipuD_cexAf3ul4MaVLttc,18044
71
+ prospector-1.17.3.dist-info/METADATA,sha256=HbUB5qzW_iRIUL9CX3COf9ytTTeYoefytfp9dLjhKjk,9964
72
+ prospector-1.17.3.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
73
+ prospector-1.17.3.dist-info/entry_points.txt,sha256=SxvCGt8MJTEZefHAvwnUc6jDetgCaaYY1Zpifuk8tqU,50
74
+ prospector-1.17.3.dist-info/RECORD,,