3.8.0 – 2020-05-11
You can view the 3.8.0 milestone on GitHub for more details.
Bugs Fixed
Deprecations
3.8.0a2 – 2020-04-24
You can view the 3.8.0 milestone on GitHub for more details.
Bugs Fixed
Fix
type="str"optparse options (See also #984)
3.8.0a1 – 2020-04-24
You can view the 3.8.0 milestone on GitHub for more details.
New Dependency Information
Features
Add
--extend-excludeoption to add to--excludewithout overwriting (See also #1211, #1091)Move argument parsing from
optparsetoargparse(See also #939Remove parsing of
verbosefrom configuration files as it was not consistently applied (See also #1245, #245)Remove parsing of
output_filefrom configuration files as it was not consistently applied (See also #1246)Resolve configuration files relative to
cwdinstead of common prefix of passed filenames. You may need to changeflake8 subprojecttocd subproject && flake8 .(See also #952)Officially support python3.8 (See also #963)
--disable-noqanow also disables# flake8: noqa(See also #1296, #318)Ensure that a missing file produces a
E902error (See also #1262, #328)# noqacomments now apply to all of the lines in an explicit\continuation or in a line continued by a multi-line string (See also #1266, #621)
Bugs Fixed
Fix
--exclude=./t.pyto only matcht.pyat the top level (See also #1208, #628)Fix
--show-sourcewhen a file is indented with tabs (See also #1218, #719)Fix crash when
--max-line-lengthis given a non-integer (See also #939, #704)Prevent flip-flopping of
indent_charcausing extraE101errors (See also #949, pycodestyle#886)Only enable multiprocessing when the method is
forkfixing issues on macos with python3.8+ (See also #955, #315) (note: this fix also landed in 3.7.9)noqais now only handled by flake8 fixing specific-noqa. Plugins requesting this parameter will always receiveFalse(See also #1214, #1104)Fix duplicate loading of plugins when invoked via
python -m flake8(See also #1297)Fix early exit when
--exit-zeroand--diffare provided and the diff is empty (See also #970)Consistently split lines when
\fis present when reading from stdin (See also #976, #202)
Deprecations
python setup.py flake8(setuptools integration) is now deprecated and will be removed in a future version (See also #935, #1098)type='string'(optparse) types are deprecated, usetype=callable(argparse) instead. Support fortype='string'will be removed in a future version (See also #939)%defaultin plugin option help text is deprecated, use%(default)sinstead. Support for%defaultwill be removed in a future version (See also #939)optparse-style
action='callback'setting for options is deprecated, use argparse action classes instead. This will be removed in a future version (See also #939)