This is mostly a "tidying up" release in preparation for more useful code refactoring and feature improvement.
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
andpep257
have been renamed topycodestyle
andpydocstyle
respectively. This is because the tools themselves were renamed years ago - See #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 - 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)