prospector v1.7.0 Release Notes

  • ๐Ÿš€ 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)