summaryrefslogtreecommitdiff
path: root/src/flake8/api
diff options
context:
space:
mode:
authorIan Cordasco <graffatcolmingov@gmail.com>2016-07-29 19:27:06 -0500
committerIan Cordasco <graffatcolmingov@gmail.com>2016-07-29 19:27:06 -0500
commit63f5f15068ed7031b4375168392ca64a856083b6 (patch)
tree609e22c5263c7d97cf39dec8b621b3edd70edee5 /src/flake8/api
parente619fd3b2095a4951ecd1cfceab195e6f501f8ee (diff)
downloadflake8-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