fix(deps): update dependency prospector to v1 - autoclosed
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
prospector (source) |
~0.12 -> ~1.8
|
Release Notes
PyCQA/prospector
v1.8.4
https://github.com/PyCQA/prospector/milestone/7?closed=1
v1.8.3
-
#​560 <https://github.com/PyCQA/prospector/issues/560>
_ -
#​559 <https://github.com/PyCQA/prospector/issues/559>
_ -
#​555 <https://github.com/PyCQA/prospector/issues/555>
_ -
#​554 <https://github.com/PyCQA/prospector/issues/554>
_ -
#​552 <https://github.com/PyCQA/prospector/issues/552>
_ -
#​551 <https://github.com/PyCQA/prospector/issues/551>
_
v1.8.2
-
#​547 <https://github.com/PyCQA/prospector/issues/547>
_
v1.8.1
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
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:
-
#​480 <https://github.com/PyCQA/prospector/issues/480>
_ -
#​417 <https://github.com/PyCQA/prospector/issues/417>
_ -
#​199 <https://github.com/PyCQA/prospector/issues/199>
_
Other bugfixes:
-
#​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.
-
#​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
Tiny bugfix relaese: restored __main__.py
so that prospector could be run as a module, ie python -m prospector
- #497
v1.7.6
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
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
andpep257
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
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
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 of1
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 previouspycodestyle
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
More bugfixes!
Fixes:
- Fix that
pep8
andpep257
sections were renamed but the old deprecated values were not properly used to configurepycodestyle
andpydocstyle
-#​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
Lots of smaller bugfixes.
Fixes:
- Prospector now configures pylint using settings found in
pyproject.toml
orsetup.cfg
, not only.pylintrc
-#​485 <https://github.com/PyCQA/prospector/issues/485>
_ - Fixed
--no-style-warnings
command line argument no longer warning after renamingpep8
topycodestyle
-#​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
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
#​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 <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.
-
#​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
withpathlib.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
- 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
v1.5.3
-
#​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
-
#​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
-
#​438 <https://github.com/PyCQA/prospector/issues/438>
_ Promoting pre-release to release as it appears to work
v1.5.0
-
#​433 <https://github.com/PyCQA/prospector/issues/433>
_ Attempted fix of flake8 dependency versioning conflict
v1.4.1
-
#​373 <https://github.com/PyCQA/prospector/issues/373>
_ Permits to raise pylint's useless-suppression -
#​414 <https://github.com/PyCQA/prospector/pull/414>
_ Loosen pycodestyle requirement -
#​408 <https://github.com/PyCQA/prospector/pull/408>
_ Fix filenames if they are PosixPath -
#​412 <https://github.com/PyCQA/prospector/pull/412>
_ Fix unclosed file warning -
#​399 <https://github.com/PyCQA/prospector/pull/399>
_ Fix fatal error on running mypy when duplicate module names
v1.4.0
-
#​424 <https://github.com/PyCQA/prospector/pull/424>
_ GitHub Action to discover typos with codespell -
#​421 <https://github.com/PyCQA/prospector/pull/421>
_ Loosen pylint requirement -
#​427 <https://github.com/PyCQA/prospector/pull/427>
_ Fix prospector for latest pylint version and add Github actions
v1.3.1
-
#​390 <https://github.com/PyCQA/prospector/pull/390>
_ Updating Vulture API usage for newer versions of Vulture -
#​394 <https://github.com/PyCQA/prospector/pull/394>
_ Update pylint and pylint-django
v1.3.0
- 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
v1.2.0
- Drop Python 3.4 support
-
#​308 <https://github.com/PyCQA/prospector/pull/308>
_ Update pyflakes support to < 2.1.0 -
#​324 <https://github.com/PyCQA/prospector/pull/324>
_ Add bandit support -
#​344 <https://github.com/PyCQA/prospector/pull/344>
_ Ignore pycache and node_modules -
#​349 <https://github.com/PyCQA/prospector/pull/349>
_ and#​355 <https://github.com/PyCQA/prospector/pull/355>
_ Fix compatibility issues with mypy >= 0.730 -
#​356 <https://github.com/PyCQA/prospector/pull/356>
_ Add support for Python 3.8
v1.1.7
-
#​299 <https://github.com/PyCQA/prospector/pull/299>
_ Output path tests and abspaths for windows -
#​300 <https://github.com/PyCQA/prospector/pull/300>
_ Fixcheck_paths
definition for pep8tool -
#​318 <https://github.com/PyCQA/prospector/pull/318>
_ Add support pylint --load-plugins option in profile -
#​336 <https://github.com/PyCQA/prospector/pull/336>
_ Pylint fix for message definitions usage -
#​340 <https://github.com/PyCQA/prospector/pull/340>
_ Bump pylint django -
#​343 <https://github.com/PyCQA/prospector/pull/343>
_ Support more kinds of mypy messages -
@5ea0e95 <https://github.com/PyCQA/prospector/pull/342/commits/5ea0e95ac28db0911e37bc07be036c27078591b4>
_ Pin astroid to 2.2.5
v1.1.5
-
#​283 <https://github.com/PyCQA/prospector/pull/283>
_ Remove unexpected argument from read_config_file - Remove quiet argument -
#​291 <https://github.com/PyCQA/prospector/pull/291>
_ Update pycodestyle support until 2.4.0 -
#​280 <https://github.com/PyCQA/prospector/pull/280>
_ Add strict option and fixed emacs output format for mypy tool -
#​282 <https://github.com/PyCQA/prospector/pull/282>
_ Fix working dir detection
v1.1.4
-
#​285 <https://github.com/PyCQA/prospector/issues/285>
_ Fix dependency tree resolution - now insists onpep8-naming<=0.4.1
as later versions cause conflicting versions of flake8 to be installed.
v1.1.3
-
#​279 <https://github.com/PyCQA/prospector/issues/279>
_ Fix --show-profile crash
v1.1.2
-
#​276 <https://github.com/PyCQA/prospector/issues/276>
_ Updating required Pyroma version and removing some warnings which were removed from Pyroma - thanks@volans- <https://github.com/volans->
_ for MR#​277 <https://github.com/PyCQA/prospector/pull/277>
_
v1.1.1
- Removing
pylint-common <https://github.com/landscapeio/pylint-common>
_ as a direct dependency as it does not add a lot of utility and is not kept up to date as much as other plugins
v1.1
-
#​299 <https://github.com/PyCQA/prospector/pull/299>
_ Output path tests and abspaths for windows -
#​300 <https://github.com/PyCQA/prospector/pull/300>
_ Fixcheck_paths
definition for pep8tool -
#​318 <https://github.com/PyCQA/prospector/pull/318>
_ Add support pylint --load-plugins option in profile -
#​336 <https://github.com/PyCQA/prospector/pull/336>
_ Pylint fix for message definitions usage -
#​340 <https://github.com/PyCQA/prospector/pull/340>
_ Bump pylint django -
#​343 <https://github.com/PyCQA/prospector/pull/343>
_ Support more kinds of mypy messages -
@5ea0e95 <https://github.com/PyCQA/prospector/pull/342/commits/5ea0e95ac28db0911e37bc07be036c27078591b4>
_ Pin astroid to 2.2.5
v1.0
-
#​228 <https://github.com/PyCQA/prospector/pull/228>
_ Add mypy support -
#​249 <https://github.com/PyCQA/prospector/pull/249>
_ Add option to point to pylintrc inside prospector configuration file -
#​250 <https://github.com/PyCQA/prospector/pull/250>
_ Add option to redirect prospector output to files -
#​261 <https://github.com/PyCQA/prospector/pull/261>
_ Drop Python 3.3 support -
#​261 <https://github.com/PyCQA/prospector/pull/261>
_ Use Pylint >= 2 for Python 3
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.