All Versions
94
Latest Version
Avg Release Cycle
52 days
Latest Release
-

Changelog History
Page 8

  • v0.9.2 Changes

    • There were some problems related to absolute paths when loading profiles that were not in the current working directory.
  • v0.9.1 Changes

    • ๐Ÿ‘• Mandating version 0.2.3 of pylint-plugin-utils, as the earlier ones don't work with the add_message API changes made in pylint 1.4+
  • v0.9 Changes

    • ๐Ÿ‘• #102 By default, prospector will hide pylint's "no-member" warnings, because more often than not they are simply incorrect. They can be re-enabled with the '--member-warnings' command line flag or the 'member-warnings: true' profile option.
    • ๐Ÿ’… #101 Code annotated with pep8/flake8 style "# noqa" comments is now understood by prospector and will lead to messages from other tools being suppressed too.
    • โฌ†๏ธ #100 Pyflakes error codes have been replaced with the same as those used in flake8, for consistency. Profiles with the old values will still work, and the profile-validator will warn you to upgrade.
    • ๐Ÿ‘• Messages now use Pylint error symbols ('star-args') instead of codes ('W0142'). This makes it much more obvious what each message means and what is happening when errors are suppressed or ignored in profiles. The old error codes will continue to work in profiles.
    • ๐Ÿ”ง The way that profiles are handled and parsed has completely been rewritten to avoid several bugs and introduce 'shorthand' options to profiles. This allows profiles to specify simple options like 'doc-warnings: true' inside profiles and configure anything that can be configured as a command line argument. Profiles can now use options like 'strictness: high' or 'doc-warnings: true' as a shortcut for inheriting the built-in prospector profiles.
    • A new --show-profile option is available to dump the calculated profile, which is helpful for figuring out what prospector thinks it is doing.
    • ๐Ÿ—„ Profiles now have separate ignore-paths and ignore-patterns directives to match the command line arguments. The old ignore directive remains in place for backwards compatibility and will be deprecated in the future.
    • โš  A new tool, profile-validator, has been added. It simply checks prospector profiles and validates the settings, providing warnings if any are incorrect.
    • ๐Ÿ”€ #89 and #40 - profile merging was not behaving exactly as intended, with later profiles not overriding earlier profiles. This is now fixed as part of the aforementioned rewrite.
    • โš  pep257 is now included by default; however it will not run unless the '--doc-warnings' flag is used.
    • ๐Ÿ“š pep257 messages are now properly blended with other tools' documentation warnings
    • ๐Ÿ‘ Path and output character encoding is now handled much better (which is to say, it is handled; previously it wasn't at all).
  • v0.8.3 Changes

    • #96 and #97 - disabling messages in profiles now works for pep8
  • v0.8.2 Changes

    • ๐Ÿ”– Version loading in setup.py no longer imports the prospector module (which could lead to various weirdnesses when installing on different platforms)
    • #82 resolves regression in adapter library detection raising, ValueError: too many values to unpack. provided by @jquast
    • #83 resolves regression when adapter library detects django, TypeError: '_sre.SRE_Pattern' object is not iterable. provided by @jquast
  • v0.8.1 Changes

    • Strictness now also changes which pep257 messages are output
    • pep257 and vulture messages are now combined and 'blended' with other tools
    • #80 Fix for Python3 issue when detecting libraries, provided by @smspillaz
  • v0.8 Changes

    • ๐Ÿ‘€ Demoted frosted to be an optional tool - this is because development seems to have slowed and pyflakes has picked up again, and frosted how has several issues which are solved by pyflakes and is no longer a useful addition.
    • #78 Prospector can now take multiple files as a path argument, thus providing errors for several files at a time. This helps when integrating with IDEs, for example.
    • โฌ†๏ธ Upgrading to newer versions of Pylint and related dependencies resolves #73, #75, #76 and #79
    • ๐Ÿ‘• #74, #10 Tools will now use any configuration specific to them by default. That is to say, if a .pylintrc file exists, then that will be used in preference to prospector's own opinions of how to use pylint.
    • โž• Added centralised configuration management, with an abstraction away from how prospector and each tool is actually configured.
    • โœ‚ Removed the "adaptors" concept. This was a sort of visitor pattern in which each tool's configuration could be updated by an adaptor, which 'visited' the tool to tweak settings based on what the adaptor represented. In practise this was not useful and a confusing way to tweak behaviour - tools now configure themselves based on configuration options directly.
    • ๐Ÿ”„ Changed the default output format to be 'grouped' rather than 'text'
    • ๐Ÿ‘Œ Support for Python 2.6 has been dropped, following Pylint's lead.
    • ๐Ÿ‘• Using pylint 1.4's 'unsafe' mode, which allows it to load any C extensions (this was the behaviour for 1.3 and below). Not loading them causes many many inference errors.
    • โš  #65 Resolve UnicodeDecodeErrors thrown while attempting to auto-discover modules of interest by discovering target python source file encoding (PEP263), and issuing only a warning if it fails (thanks to Jeff Quast).
  • v0.7.3 Changes

    • ๐Ÿš€ Pylint dependency version restricted to 1.3, as 1.4 drops support for Python 2.6. Prospector will drop support for Python 2.6 in a 0.8 release.
    • โœ… File names ending in 'tests.py' will now be ignored if prospector is set to ignore tests (previously, the regular expression only ignored files ending in 'test.py')
    • #70 Profiles starting with a .yml extension can now be autoloaded
    • ๐Ÿ‘€ #62 For human readable output, the summary of messages will now be printed at the end rather than at the start, so the summary will be what users see when running prospector (without piping into less etc)
  • v0.7.2 Changes

    • The E265 error from PEP8 - "Block comment should start with '# '" - has been disabled for anything except veryhigh strictness.
  • v0.7.1 Changes

    • #60 Prospector did not work with Python2.6 due to timedelta.total_seconds() not being available.
    • Restored the behaviour where std_out/std_err from pylint is suppressed