Prospector

Latest version: v1.10.3

Safety actively analyzes 641954 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 16 of 16

0.5.1

---------------
New Features

* All command line arguments can now also be specified in a `tox.ini` and `setup.cfg` (thanks to [Jason Simeone](https://github.com/jayclassless))
* `--max-line-length` option can be used to override the maximum line length specified by the chosen strictness

Bug Fixes

* `17 <https://github.com/PyCQA/prospector/issues/17/>`_ Prospector generates messages if in a path containing a directory beginning with a `.` - ignore patterns were previously incorrectly being applied to the absolute path rather than the relative path.
* `12 <https://github.com/PyCQA/prospector/issues/12/>`_ Library support for Django now extends to all tools rather than just pylint
* Some additional bugs related to ignore paths were squashed.

0.5

---------------
* Files and paths can now be ignored using the `--ignore-paths` and `--ignore-patterns` arguments.

* Full PEP8 compliance can be turned on using the `--full-pep8` flag, which overrides the defaults in the strictness profile.
* The PEP8 tool will now use existing config if any is found in `.pep8`, `tox.ini`, `setup.cfg` in the path to check, or `~/.config/pep8`. These will override any other configuration specified by Prospector. If none are present, Prospector will fall back on the defaults specified by the strictness.
* A new flag, `--external-config`, can be used to tweak how PEP8 treats external config. `only`, the default, means that external configuration will be preferred to Prospector configuration. `merge` means that Prospector will combine external configuration and its own values. `none` means that Prospector will ignore external config.

* The `--path` command line argument is no longer required, and Prospector can be called with `prospector path_to_check`.

* Pylint version 1.1 is now used.

* Prospector will now run under Python3.

0.4.1

---------------
* Additional blending of messages - more messages indicating the same problem from different tools are now merged together
* Fixed the maximum line length to 160 for medium strictness, 100 for high and 80 for very high. This affects both the pep8 tool and pylint.

0.4

---------------
* Added a changelog
* Added support for the `dodgy <https://github.com/landscapeio/dodgy>`_ codebase checker
* Added support for pep8 (thanks to `Jason Simeone <https://github.com/jayclassless>`_)
* Added support for pyflakes (thanks to `Jason Simeone <https://github.com/jayclassless>`_)
* Added support for mccabe (thanks to `Jason Simeone <https://github.com/jayclassless>`_)
* Replaced Pylint W0312 with a custom checker. This means that warnings are only generated for inconsistent indentation characters, rather than warning if spaces were not used.
* Some messages will now be combined if Pylint generates multiple warnings per line for what is the same cause. For example, 'unused import from wildcard import' messages are now combined rather than having one message per unused import from that line.
* Messages from multiple tools will be merged if they represent the same problem.
* Tool failure no longer kills the Prospector process but adds a message instead.
* Tools can be enabled or disabled from profiles.
* All style warnings can be suppressed using the ``--no-style-warnings`` command line switch.
* Uses a newer version of `pylint-django <https://github.com/landscapeio/pylint-django>`_ for improved analysis of Django-based code.

Page 16 of 16

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.