Skip to content

fix(deps): update dependency prospector to v1.8.4 - autoclosed

Renovate Bot requested to merge renovate/prospector-1.x into develop

This MR contains the following updates:

Package Change Age Adoption Passing Confidence
prospector (source) ==1.2.0 -> ==1.8.4 age adoption passing confidence

Release Notes

PyCQA/prospector

v1.8.4

Compare Source

https://github.com/PyCQA/prospector/milestone/7?closed=1

v1.8.3

Compare Source

  • #&#8203;560 <https://github.com/PyCQA/prospector/issues/560>_
  • #&#8203;559 <https://github.com/PyCQA/prospector/issues/559>_
  • #&#8203;555 <https://github.com/PyCQA/prospector/issues/555>_
  • #&#8203;554 <https://github.com/PyCQA/prospector/issues/554>_
  • #&#8203;552 <https://github.com/PyCQA/prospector/issues/552>_
  • #&#8203;551 <https://github.com/PyCQA/prospector/issues/551>_

v1.8.2

Compare Source

  • #&#8203;547 <https://github.com/PyCQA/prospector/issues/547>_

v1.8.1

Compare Source

Let's test faster.

Add support for Python 3.11:

Python 3.11 is between 10-60% faster than Python 3.10.

v1.8.0

Compare Source

File discovery fixes:

Finding paths and files to check has been replaced with a new version using pathlib - this should not result in any changes, except fixing an issue where pylint and pydocstyle were inspecting the same file or directory twice sometimes. However it may cause slightly different orders or reduce these duplicate warnings.

The behavior of prospector should be unchanged, apart from some bugfixes related to the old file discovery mechanism.

Related bugs and MRs:

  • #&#8203;480 <https://github.com/PyCQA/prospector/issues/480>_
  • #&#8203;417 <https://github.com/PyCQA/prospector/issues/417>_
  • #&#8203;199 <https://github.com/PyCQA/prospector/issues/199>_

Other bugfixes:

  • #&#8203;106 <https://github.com/PyCQA/prospector/issues/106>_
  • Running prospector on a path not in the CWD (eg, 'prospector /some/where/else') will not cause exceptions, and will instead use absolute paths for message output
  • Autodetction of libraries, to automatically use pylint plugins, will no work on projects using a pyproject.toml ; also it has been turned on by default, it seemed to have accidentally been set to off by default some time ago.
  • #&#8203;529 <https://github.com/PyCQA/prospector/issues/529>_

Misc:

  • Prospector now runs on itself without generating errors after all linting warnings were fixed

v1.7.7

Compare Source

Tiny bugfix relaese: restored __main__.py so that prospector could be run as a module, ie python -m prospector - #​497

v1.7.6

Compare Source

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

Compare Source

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 #&#8203;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 - #&#8203;455 <https://github.com/PyCQA/prospector/issues/455>_

Tidyup:

  • Lots of warnings fixed from running prospector on itself

v1.7.4

Compare Source

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 #&#8203;227 <https://github.com/PyCQA/prospector/issues/227>_.

v1.7.3

Compare Source

The war on bugs.

Fixes:

  • Autodetect now does not die if a user does not have permissions (related to #&#8203;271 <https://github.com/PyCQA/prospector/issues/271>_ and #&#8203;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 - #&#8203;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 - #&#8203;484 <https://github.com/PyCQA/prospector/issues/484>_

v1.7.2

Compare Source

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 - #&#8203;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 - #&#8203;271 <https://github.com/PyCQA/prospector/issues/271>_ and #&#8203;487 <https://github.com/PyCQA/prospector/issues/487>_

v1.7.1

Compare Source

Lots of smaller bugfixes.

Fixes:

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

v1.7.0

Compare Source

This is mostly a "tidying up" release but some things have changed which may cause differences to output, hence the bump of the major version.

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 #&#8203;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 #&#8203;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 internals

These are all internal prospector code quality improvements. Ideally, they should not be noticed by anybody as they are internal refactorings.

  • #&#8203;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)
  • Replaced os.path with pathlib.Path everywhere in prospector internals, to improve and simplify finding files to inspect. Theoretically this behaves in the same way as far as the user will see (please open a ticket if you notice anything obviously different)

v1.6.0

Compare Source

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

note This release drops support for python 3.6.1

v1.5.3.1

Compare Source

  • #&#8203;465 <https://github.com/PyCQA/prospector/issues/465>_ Remove unnecessary configuration reset to fix pylint>=2.12 compatibility
  • Version 1.5.3.1 was needed to unpin the pylint dependency to actually use the fix for compatibility.

v1.5.3

Compare Source

  • #&#8203;465 <https://github.com/PyCQA/prospector/issues/465>_ Remove unnecessary configuration reset to fix pylint>=2.12 compatibility
  • Version 1.5.3.1 was needed to unpin the pylint dependency to actually use the fix for compatibility.

v1.5.2

Compare Source

  • #&#8203;465 <https://github.com/PyCQA/prospector/issues/465>_ Bugfix release to pin pylint<2.12 because prospector's internals were not compatible with it

v1.5.1

Compare Source

  • #&#8203;438 <https://github.com/PyCQA/prospector/issues/438>_ Promoting pre-release to release as it appears to work

v1.5.0.1

Compare Source

  • #&#8203;433 <https://github.com/PyCQA/prospector/issues/433>_ Attempted fix of flake8 dependency versioning conflict

v1.5.0

Compare Source

  • #&#8203;433 <https://github.com/PyCQA/prospector/issues/433>_ Attempted fix of flake8 dependency versioning conflict

v1.4.1.1

Compare Source

v1.4.1

Compare Source

  • #&#8203;373 <https://github.com/PyCQA/prospector/issues/373>_ Permits to raise pylint's useless-suppression
  • #&#8203;414 <https://github.com/PyCQA/prospector/pull/414>_ Loosen pycodestyle requirement
  • #&#8203;408 <https://github.com/PyCQA/prospector/pull/408>_ Fix filenames if they are PosixPath
  • #&#8203;412 <https://github.com/PyCQA/prospector/pull/412>_ Fix unclosed file warning
  • #&#8203;399 <https://github.com/PyCQA/prospector/pull/399>_ Fix fatal error on running mypy when duplicate module names

v1.4.0

Compare Source

  • #&#8203;424 <https://github.com/PyCQA/prospector/pull/424>_ GitHub Action to discover typos with codespell
  • #&#8203;421 <https://github.com/PyCQA/prospector/pull/421>_ Loosen pylint requirement
  • #&#8203;427 <https://github.com/PyCQA/prospector/pull/427>_ Fix prospector for latest pylint version and add Github actions

v1.3.1

Compare Source

  • #&#8203;390 <https://github.com/PyCQA/prospector/pull/390>_ Updating Vulture API usage for newer versions of Vulture
  • #&#8203;394 <https://github.com/PyCQA/prospector/pull/394>_ Update pylint and pylint-django

v1.3.0

Compare Source

  • Update pylint support to 2.5.2
  • Update pylint-django to 2.0.15
  • Update pyflakes support to 2.2.0
  • Update pycodestyle support to 2.6.0
  • Update pep8-naming support to 0.10.0
  • Update pyflakes to <2.3.0 and >=2.2.0
  • Update pycodestyle to <2.7.0 and >=2.6.0
  • Update vulture to 1.5
  • Drop Python 2 support
  • Add output-target field when merging profiles
  • Add support for [pycodestyle] external config section
  • Fix AttributeExceptionError being raised when ignore_paths is an integer
  • Use black on entire project
  • Add new pylint option: use_pylint_default_path_finder to make sure there's an option to preserve pylint default behavior.
  • Update pyflakes error code list to the recent version

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Edited by Renovate Bot

Merge request reports