summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2021-10-10 19:07:21 -0700
committerAnthony Sottile <asottile@umich.edu>2021-10-10 19:07:21 -0700
commitd31c5356bbb0a884555662185697ddc6bb46a44c (patch)
treee7672c293e31712d25421da9a0089ab855207dd9
parentafd2399b4cc9b27c4e8a5c2dec8444df8f480293 (diff)
downloadflake8-d31c5356bbb0a884555662185697ddc6bb46a44c.tar.gz
Release 4.0.04.0.0
-rw-r--r--docs/source/internal/releases.rst2
-rw-r--r--docs/source/release-notes/4.0.0.rst31
-rw-r--r--src/flake8/__init__.py2
3 files changed, 31 insertions, 4 deletions
diff --git a/docs/source/internal/releases.rst b/docs/source/internal/releases.rst
index 03178a4..1107c98 100644
--- a/docs/source/internal/releases.rst
+++ b/docs/source/internal/releases.rst
@@ -30,7 +30,7 @@ Historically, |Flake8| has generated major releases for:
- Large scale refactoring (2.0, 3.0)
-- Subtly breaking CLI changes (3.0)
+- Subtly breaking CLI changes (3.0, 4.0)
- Breaking changes to its plugin interface (3.0)
diff --git a/docs/source/release-notes/4.0.0.rst b/docs/source/release-notes/4.0.0.rst
index e997d09..b6c9870 100644
--- a/docs/source/release-notes/4.0.0.rst
+++ b/docs/source/release-notes/4.0.0.rst
@@ -1,4 +1,4 @@
-4.0.0 -- 202x-mm-dd
+4.0.0 -- 2021-10-10
-------------------
You can view the `4.0.0 milestone`_ on GitHub for more details.
@@ -6,10 +6,37 @@ You can view the `4.0.0 milestone`_ on GitHub for more details.
Backwards Incompatible Changes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+- Remove ``--install-hook`` vcs integration (See also :issue:`1008`).
+- Remove ``setuptools`` command (See also :issue:`1009`).
+- Migrate from GitLab to GitHub (See also :pull:`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``).
+ ``~/.config/flake8``). (See also :pull:`1404`).
+
+New Dependency Information
+~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+- pycodestyle has been updated to >= 2.8.0, < 2.9.0 (See also :pull:`1406`).
+- Pyflakes has been updated to >= 2.4.0, < 2.5.0 (See also :pull:`1406`).
+- flake8 requires python >= 3.6 (See also :issue:`1010`).
+
+Features
+~~~~~~~~
+
+- Add ``--extend-select`` option (See also :pull:`1312` :issue:`1061`).
+- Automatically create directories for output files (See also :pull:`1329`).
+
+Bugs Fixed
+~~~~~~~~~~
+
+- ``ast`` parse before tokenizing to improve ``SyntaxError`` errors (See also
+ :pull:`1320` :issue:`740`).
+- Fix warning in ``--indent-size`` argparse help (See also :pull:`1367`).
+- Fix handling ``SyntaxError`` in python 3.10+ (See also :pull:`1374`
+ :issue:`1372`).
+- Fix writing non-cp1252-encodable when output is piped on windows (See also
+ :pull:`1382` :issue:`1381`).
.. all links
.. _4.0.0 milestone:
diff --git a/src/flake8/__init__.py b/src/flake8/__init__.py
index 57a8ed3..6db01e0 100644
--- a/src/flake8/__init__.py
+++ b/src/flake8/__init__.py
@@ -16,7 +16,7 @@ from typing import Type
LOG = logging.getLogger(__name__)
LOG.addHandler(logging.NullHandler())
-__version__ = "3.9.2"
+__version__ = "4.0.0"
__version_info__ = tuple(int(i) for i in __version__.split(".") if i.isdigit())