diff options
| author | Ian Cordasco <graffatcolmingov@gmail.com> | 2016-07-29 19:27:06 -0500 |
|---|---|---|
| committer | Ian Cordasco <graffatcolmingov@gmail.com> | 2016-07-29 19:27:06 -0500 |
| commit | 63f5f15068ed7031b4375168392ca64a856083b6 (patch) | |
| tree | 609e22c5263c7d97cf39dec8b621b3edd70edee5 /docs | |
| parent | e619fd3b2095a4951ecd1cfceab195e6f501f8ee (diff) | |
| download | flake8-63f5f15068ed7031b4375168392ca64a856083b6.tar.gz | |
Re-allow for relative paths for exclude
Previously, all testing was done from the directory in which the
configuration file lived, so this bug went unnoticed. However, if you
run Flake8 against its own source from a directory above, you would
notice that the patterns in the exclude config value in tox.ini were
ignored. This is because we (like any reasonable person) are using
relative paths. The path is relative, however, to the directory in
which the configuration file was located. So we keep track of which
directory that is and use that to normalize the paths in the config
file.
Yes, there is an unrelated change to our tox.ini in this commit as
well. ;-)
Closes #194
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/source/release-notes/3.0.3.rst | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/docs/source/release-notes/3.0.3.rst b/docs/source/release-notes/3.0.3.rst index 92252ac..0f62a50 100644 --- a/docs/source/release-notes/3.0.3.rst +++ b/docs/source/release-notes/3.0.3.rst @@ -4,21 +4,25 @@ - Disable ``--jobs`` for any version of Python on Windows. (See also `this Python bug report`_) -- Fix ``# noqa`` comments followed by a ``:`` and explanation broken by - 3.0.0 (See also `GitLab#178`_) - -- Fix issue where users were unable to ignore plugin errors that were on - by default. (See also `GitLab#195`_) - - Raise exception when entry_point in plugin not callable. This raises an informative error when a plugin fails to load because its entry_point is not callable, which can happen with a plugin which is buggy or not updated for the current version of flake8. This is nicer than raising a `PicklingError` about failing to pickle a module (See also `GitLab#164`_) +- Fix ``# noqa`` comments followed by a ``:`` and explanation broken by + 3.0.0 (See also `GitLab#178`_) + - Always open our output file in append mode so we do not overwrite log messages. (See also `GitLab#193`_) +- When normalizing path values read from configuration, keep in context the + directory where the configuration was found so that relative paths work. + (See also `GitLab#194`_) + +- Fix issue where users were unable to ignore plugin errors that were on + by default. (See also `GitLab#195`_) + .. links .. _GitLab#164: @@ -27,6 +31,8 @@ https://gitlab.com/pycqa/flake8/issues/178 .. _GitLab#193: https://gitlab.com/pycqa/flake8/issues/193 +.. _GitLab#194: + https://gitlab.com/pycqa/flake8/issues/193 .. _GitLab#195: https://gitlab.com/pycqa/flake8/issues/195 .. _this Python bug report: |
