Fix Windows bugs and tests
- Version of Python which has Flake8 installed (e.g.,
python -V
): All supported versions - Version of Flake8 installed (i.e., copy and paste all of the output from
flake8 --version
): master
Please describe the problem or feature
On Windows, our tests not only fail but rightfully expose some bugs with the master branch of Flake8: https://ci.appveyor.com/project/sigmavirus24/flake8
If this is a bug report, please explain with examples (and example code) what you expected to happen and what actually happened.
For example, we test that input to exclude will be properly normalized but we can see here that it is not. We need to handle both os.path.sep
and os.path.altsep
.