diff --git a/docs/source/release-notes/3.8.2.rst b/docs/source/release-notes/3.8.2.rst new file mode 100644 index 0000000..9fbb79f --- /dev/null +++ b/docs/source/release-notes/3.8.2.rst @@ -0,0 +1,40 @@ +3.8.2 -- 2020-05-22 +------------------- + +You can view the `3.8.2 milestone`_ on GitLab for more details. + +Bugs Fixed +~~~~~~~~~~ + +- Improve performance by eliminating unncessary sort (See also `GitLab!429`_) + +- Improve messaging of ``--jobs`` argument by utilizing ``argparse`` (See also + `GitLab!428`_, `GitLab#567`_) + +- Fix file configuration options to be relative to the config passed on the + command line (See also `GitLab!431`_, `GitLab#651`_) + +- Fix incorrect handling of ``--extend-exclude`` by treating its values as + files (See also `GitLab!432`_, `GitLab#653`_) + +.. all links +.. _3.8.2 milestone: + https://gitlab.com/pycqa/flake8/-/milestones/35 + +.. issue links +.. _GitLab#567: + https://gitlab.com/pycqa/flake8/issues/567 +.. _GitLab#651: + https://gitlab.com/pycqa/flake8/issues/651 +.. _GitLab#653: + https://gitlab.com/pycqa/flake8/issues/653 + +.. merge request links +.. _GitLab!428: + https://gitlab.com/pycqa/flake8/merge_requests/428 +.. _GitLab!429: + https://gitlab.com/pycqa/flake8/merge_requests/429 +.. _GitLab!431: + https://gitlab.com/pycqa/flake8/merge_requests/431 +.. _GitLab!432: + https://gitlab.com/pycqa/flake8/merge_requests/432 diff --git a/docs/source/release-notes/index.rst b/docs/source/release-notes/index.rst index 9c5551c..53cf726 100644 --- a/docs/source/release-notes/index.rst +++ b/docs/source/release-notes/index.rst @@ -9,6 +9,7 @@ with the newest releases first. ================== .. toctree:: + 3.8.2 3.8.1 3.8.0 3.7.9 diff --git a/src/flake8/__init__.py b/src/flake8/__init__.py index b38ffdc..2300aa8 100644 --- a/src/flake8/__init__.py +++ b/src/flake8/__init__.py @@ -18,7 +18,7 @@ if False: # `typing.TYPE_CHECKING` was introduced in 3.5.2 LOG = logging.getLogger(__name__) LOG.addHandler(logging.NullHandler()) -__version__ = "3.8.1" +__version__ = "3.8.2" __version_info__ = tuple( int(i) for i in __version__.split(".") if i.isdigit() ) diff --git a/src/flake8/options/config.py b/src/flake8/options/config.py index 6c66d89..eaa2b4e 100644 --- a/src/flake8/options/config.py +++ b/src/flake8/options/config.py @@ -188,9 +188,7 @@ class MergedConfigParser(object): if parent is None: parent = self.config_finder.local_directory - final_value = option.normalize( - value, parent - ) + final_value = option.normalize(value, parent) LOG.debug( '%r has been normalized to %r for option "%s"', value,