4.0.0 – 2021-10-10

You can view the 4.0.0 milestone on GitHub for more details.

Backwards Incompatible Changes

  • Remove --install-hook vcs integration (See also #1008).
  • Remove setuptools command (See also #1009).
  • Migrate from GitLab to GitHub (See also #1305).
  • Due to constant confusion by users, user-level Flake8 configuration files are no longer supported. Files will not be searched for in the user’s home directory (e.g., ~/.flake8) nor in the XDG config directory (e.g., ~/.config/flake8). (See also #1404).

New Dependency Information

  • pycodestyle has been updated to >= 2.8.0, < 2.9.0 (See also #1406).
  • Pyflakes has been updated to >= 2.4.0, < 2.5.0 (See also #1406).
  • flake8 requires python >= 3.6 (See also #1010).

Features

  • Add --extend-select option (See also #1312 #1061).
  • Automatically create directories for output files (See also #1329).

Bugs Fixed

  • ast parse before tokenizing to improve SyntaxError errors (See also #1320 #740).
  • Fix warning in --indent-size argparse help (See also #1367).
  • Fix handling SyntaxError in python 3.10+ (See also #1374 #1372).
  • Fix writing non-cp1252-encodable when output is piped on windows (See also #1382 #1381).