- Add
zoneinfo
to list of standard library modules - Fix registering of options with Flake8 >= 6.0
- Fix case-sensitive related I100 errors for the pycharm style
- Fix noqa regexp
- Add new Python 3.7 modules to the stdlib list, and support 3.7.
- Rebuild of 0.17 with the latest setuptools to fix an enum34 dependency bug.
- Add all Python3 modules to stdlib list (should be no more missing modules).
- Clarify the error messages (more context).
- Allow styles to override specific checks.
- Correct the edited style to match the actual edited style guide.
- Add pycharm style, to match the pycharm auto formatter.
- Change spacing determination to consider only blank newlines as a space. This adds NewLine nodes to the checker and hence could break custom styles (that use the nodes directly). This also drops the asttokens dependency as it is no longer required.
- Understand the existence of namespaced packages, thereby allowing different namespaced pacakages to be defined as local or third party.
- Drop Python 3.3 support, as Python 3.3 is beyond it's end of lfe.
- Correct the flake8 entrypoint to report all
I
errors, this may result inI2XX
errors being reported that were absent previously. - Support in-line
# noqa
comments specifying only the error codes to be ignored, e.g.,# noqa: I101
. - Accept only
# noqa
directives on the line reporting the error, see limitations.
- Bug fix, allow for noqa directives to work with I202.
- Bug fix, ensure the plugin is invoked by flake8.
- Bug fix, cope with multi-line imports when considering I202.
- Fixed I201 error raising for cryptography style.
- Added I202 error when there is an additional newline in a section of imports.
- Added
ntpath
andos2emxpath
to stdlib list.
- Added
secrets
to stdlib list. - Allow for any style to use application-package grouping.
- Added new Edited style, this is equivalent to the Smarkets style
except that values specified in the
application-package-names
option must be imported after third-party import statements - Added ability to extend a style using an entrypoint.
- Fix ambiguous I100 error, now lists correct packages.
- Enforce lexicographic ordering for Google, Smarkets and AppNexus styles. This may introduce warnings not present in previous releases relating to case sensitivity.
- Fix I100 case sensitivity for ungrouped imports, again enforcing lexicographic ordering.
- Added new AppNexus style, this is equivalent to the google style except that values specified in the application-package-names option must be imported after third-party import statements
- Fixed ungrouped ordering bug whereby I100 wasn't triggered.
- Fix error when checking from stdin using flake8 3.0.
- Fix case sensitivity bug for Google and Smarkets style.
- Drop pep8 requirement and replace with pycodestyle.
- Support Flake8 3.0 (alongside Flake8 2.X).
- Drop Python2.6 compatibility.
- Fixed a bug where intermixed 1st and 3rd party imports cause an error with the PEP8 style.
- Fixed a bug whereby the I101 recommended ordering wasn't a valid ordering in the cryptography style.
- Added profile, cProfile, pstats and typing to stdlib list.
- Added new PEP8 style, that enforces grouping of importes but allows any ordering within the groups.
- Added new Smarkets style, this is equivalent to the google style except that any import X statements must come before any from X import y statements.
- Fixed a bug where I101 messages were not suggesting the correct order in the default style. The output message now outputs a message that matches the selected style.
- Fixed a bug where I101 messages were not suggesting the correct order.
- Extended test harness to be able to check error messages as well as codes.