mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-04 20:26:53 +00:00
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
39 lines
1.4 KiB
ReStructuredText
39 lines
1.4 KiB
ReStructuredText
3.0.3 -- 2016-07-28 (unreleased)
|
|
--------------------------------
|
|
|
|
- Disable ``--jobs`` for any version of Python on Windows.
|
|
(See also `this Python bug report`_)
|
|
|
|
- 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:
|
|
https://gitlab.com/pycqa/flake8/issues/164
|
|
.. _GitLab#178:
|
|
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:
|
|
https://bugs.python.org/issue27649
|