All Versions
94
Latest Version
Avg Release Cycle
52 days
Latest Release
-

Changelog History
Page 1

  • v1.7.7 Changes

    ๐Ÿ›  Fixes:

    • Restored __main__.py so that prospector could be run as a module, ie python -m prospector - #497 <https://github.com/PyCQA/prospector/pull/497>_
  • v1.7.6 Changes

    It's a bugs life.

    ๐Ÿ›  Fixes:

    • ๐Ÿ›  Fixed a problem where pylint was reporting the same message multiple times, because it was given a path to the file multiple times
    • ๐Ÿš€ The blending fix mentioned in the 1.7.5 release was actually not checked in by accident, this is there now.
  • v1.7.5 Changes

    Just say no to bugs.

    ๐Ÿ†• New:

    • Profile inheritance is now optional - appending a profile name with a ? means that if it is not found, prospector will simply continue. Read the documentation here <https://prospector.landscape.io/en/master/profiles.html#inheritance>. Closes #161 <https://github.com/PyCQA/prospector/issues/161>

    ๐Ÿ›  Fixes:

    • ๐Ÿ—„ Stopped the ProfileValidator tool raising errors about pep8 and pep257 sections being unknown. Instead, they raise deprecated warnings.
    • ๐Ÿ’… Blending works again - for example, pylint and pycodestyle errors representing the same thing are combined. After renaming pep8 to pycodestyle, this only worked when using legacy names.
    • ๐Ÿ‘ป Unrecognised Mypy options now raise an exception instead of silently carrying on - #455 <https://github.com/PyCQA/prospector/issues/455>_

    Tidyup:

    • โš  Lots of warnings fixed from running prospector on itself
  • v1.7.4 Changes

    ๐Ÿš€ Mea culpa release

    ๐Ÿ›  Fix

    ๐Ÿ‘• The effort to allow pylint configuration in pyproject.toml to be used as an external config source (issue here <https://github.com/PyCQA/prospector/issues/485>_) had the unintended side effect where any project using poetry would now use that configuration and thus would ignore the pylint configuration in the profile. This was true even if the pyproject.toml had no pylint directives in it.

    The behaviour has now been fixed where pylint will be configured using configuration from the profile first and then if any additional settings are found in a pylintrc or pyproject.toml or setup.cfg then these will override the profile configuration, instead of replacing it entirely.

    This also has the benefit of fixing #227 <https://github.com/PyCQA/prospector/issues/227>_.

  • v1.7.3 Changes

    The war on bugs.

    ๐Ÿ›  Fixes:

    • Autodetect now does not die if a user does not have permissions (related to #271 <https://github.com/PyCQA/prospector/issues/271>_ and #487 <https://github.com/PyCQA/prospector/issues/487>_)
    • ๐Ÿ›  Fixed that some pylint documentation warning messages were not correctly included in the list of documentation warnings to squash if doc warnings are not desired.
    • ๐Ÿ›  Fixed the exit code for prospector - it was always 0 after the move to using poetry for packaging instead of 1 if errors were found (unless --zero-exit) was used. This now exits with the correct code based on the documented (and previous) behaviour.
    • ๐Ÿ›  Fix that pep8 would overwrite instead of inherit from previous pycodestyle blocks, same with pep257 - #491 (comment) <https://github.com/PyCQA/prospector/issues/491#issuecomment-1053539711>_
    • ๐Ÿ›  Fix the pre-commit hook, as it could not run without being installed [with_everything], due to the "NotAvailableTool" class not properly implementing the abstract base class.
    • ๐Ÿ‘Œ Improved documentation about the pre-commit hook as well to clarify its use better - #484 <https://github.com/PyCQA/prospector/issues/484>_
  • v1.7.2 Changes

    ๐Ÿ›  More bugfixes!

    ๐Ÿ›  Fixes:

    • ๐Ÿ›  Fix that pep8 and pep257 sections were renamed but the old deprecated values were not properly used to configure pycodestyle and pydocstyle - #491 <https://github.com/PyCQA/prospector/issues/491>_
    • Better handling for when the user running prospector is not able to read a file or directory - #271 <https://github.com/PyCQA/prospector/issues/271>_ and #487 <https://github.com/PyCQA/prospector/issues/487>_
  • v1.7.1 Changes

    ๐Ÿ›  Lots of smaller bugfixes.

    ๐Ÿ›  Fixes:

    • ๐Ÿ‘• Prospector now configures pylint using settings found in pyproject.toml or setup.cfg, not only .pylintrc - #485 <https://github.com/PyCQA/prospector/issues/485>_
    • ๐Ÿ›  Fixed --no-style-warnings command line argument no longer warning after renaming pep8 to pycodestyle - #488 <https://github.com/PyCQA/prospector/issues/488>_
    • ๐Ÿ“š Documentation is building again - #473 <https://github.com/PyCQA/prospector/issues/473>_
    • --with-tool flag now respects - but overrides - tools disabled in profiles - #447 <https://github.com/PyCQA/prospector/issues/447>_
    • ๐Ÿ›  Fixed crash with merging multiple import warnings - #477 <https://github.com/PyCQA/prospector/issues/477>_
    • ๐Ÿ›  Fixed segfault when analysing code using cartopy - #403 <https://github.com/PyCQA/prospector/issues/403>_
  • v1.7.0 Changes

    ๐Ÿš€ This is mostly a "tidying up" release.

    ๐Ÿ†• New:

    • โž• Added a --quiet command line option to suppress all output. Useful if you just want to know the exit code of prospector for scripting.
    • โœ‚ Removed the prospector "indent checker" since this is now no longer in pylint #482 <https://github.com/PyCQA/prospector/issues/482>_

    ๐Ÿ›  Fixes:

    ๐Ÿ—„ Deprecation warning:

    • ๐Ÿ’… Tools pep8 and pep257 have been renamed to pycodestyle and pydocstyle respectively. This is because the tools themselves were renamed years ago - See #222 <https://github.com/PyCQA/prospector/issues/222>_.

    โšก๏ธ Note that this means that prospector profiles and message output uses this new name instead of the old name, so you will need to update your configuration. The old names will still work, but this legacy behaviour will be removed in prospector 2.0

    • ๐Ÿ—„ There is now a --legacy-tool-names flag for outputting pep8 or pep257 as the tool name when outputting errors. This is to be backwards compatible with any parsing logic; this flag is also deprecated and will go away in prospector 2.0

    Tidying up

    These are all internal prospector code quality improvements.

    • ๐Ÿšš #467 <https://github.com/PyCQA/prospector/issues/467>_ - Removed nosetests, as nose is not compatible with Python 3.10 yet and the pytest tests were already doing the same thing
    • โœ… Tidied up the tox testing
    • Started adding some type hints to methods
    • ๐Ÿ›  Fixed lots of warnings raised by prospector when running prospector on itself...
    • โœ‚ Removed some old python2 compatibility code which is no longer needed now python2 is not supported at all
    • ๐Ÿ›  Fixed hyperlink formatting in this CHANGELOG to be RST (was never updated after converting from markdown)
  • v1.6.1 Changes

    • Update pyflakes to 2.* #454 <https://github.com/PyCQA/prospector/issues/454)>_
  • v1.6.0 Changes

    • ๐Ÿ›  Fixed incompatible version specification of pylint-plugin-utils. This now requires pylint-django of at least 2.5. #478 <https://github.com/PyCQA/prospector/issues/478>_

    note This release drops support for python 3.6.1