Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Mar 1, 2022

Bumps prospector from 1.2.0 to 1.7.5.

Release notes

Sourced from prospector's releases.

1.7.5

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. Closes #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

Tidyup:

  • Lots of warnings fixed from running prospector on itself

1.7.4

Mea culpa release

Fix

The effort to allow pylint configuration in pyproject.toml to be used as an external config source (#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 .

1.7.1

Lots of smaller bugfixes in this release.

Fixes:

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

1.7.0

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) <https://github.com/PyCQA/prospector/issues/482>_

Fixes:

... (truncated)

Changelog

Sourced from prospector's changelog.

Version 1.7.5

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) <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) <https://github.com/PyCQA/prospector/issues/455>_

Tidyup:

  • Lots of warnings fixed from running prospector on itself

Version 1.7.4

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) <https://github.com/PyCQA/prospector/issues/227>_.

Version 1.7.3

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) <https://github.com/PyCQA/prospector/issues/271>_ and [#487](https://github.com/PyCQA/prospector/issues/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](https://github.com/PyCQA/prospector/issues/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) <https://github.com/PyCQA/prospector/issues/484>_

Version 1.7.2

... (truncated)

Commits
  • 3b793e4 Added twine check to ensure packages are valid and can be uploaded to PyPI
  • e108e82 Bumping version for relase
  • c163370 #455 Raising an exception if bad mypy options are found
  • 30114cb Small changelog formatting fix
  • 2e4792b #161 Added additional test to ensure that missing non-optional profiles do ...
  • 16ad9f6 Merge branch 'master' of github.com:PyCQA/prospector
  • 6fb9242 #161 Allow optional profiles
  • 89be30b More linting fixes and adding tox as a dev dependency
  • 64b05ab Merge pull request #493 from PyCQA/pre-commit-ci-update-config
  • 982c6be [pre-commit.ci] pre-commit autoupdate
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [prospector](https://github.com/PyCQA/prospector) from 1.2.0 to 1.7.5.
- [Release notes](https://github.com/PyCQA/prospector/releases)
- [Changelog](https://github.com/PyCQA/prospector/blob/master/CHANGELOG.rst)
- [Commits](prospector-dev/prospector@1.2.0...1.7.5)

---
updated-dependencies:
- dependency-name: prospector
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Mar 1, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Mar 4, 2022

Superseded by #81.

@dependabot dependabot bot closed this Mar 4, 2022
@dependabot dependabot bot deleted the dependabot/pip/prospector-1.7.5 branch March 4, 2022 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant