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 /src/flake8/api | |
| 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 'src/flake8/api')
0 files changed, 0 insertions, 0 deletions
