Ian Cordasco
33f982b446
Rely on Python 3.4 backport of configparser
...
Python 2.7's ConfigParser module does not allow for the behaviour we
have documented for config files in Flake8 3.0. To compensate for that,
we add a dependency on the configparser backport on PyPI for Python 2.7
2016-05-30 12:51:31 -05:00
Ian Cordasco
de9f56addf
Fix import ordering in test files
2016-02-25 14:41:37 -06:00
Ian Cordasco
69b8be71dc
Make pylint happier
2016-02-19 15:10:46 -06:00
Ian Cordasco
8b85e93e21
Add test for local_configs method
2016-01-10 12:52:29 -06:00
Ian Cordasco
de96b24bad
Add parameter for missing extra config file
2016-01-10 09:50:32 -06:00
Ian Cordasco
7269d84845
Add test parameters with extra_config_files
2016-01-10 09:45:43 -06:00
Ian Cordasco
b8dfc9a8e2
Start testing ConfigFileFinder.local_config_files
...
Make sure extra_config_files are all absolute paths and filter them
in local_config_files to ensure they exist.
2016-01-10 09:39:37 -06:00
Ian Cordasco
204a367095
Add more parameters to file location generation test
2016-01-10 09:05:09 -06:00
Ian Cordasco
cb276d63e3
Parametrize windows detection unit test
2016-01-10 09:04:39 -06:00
Ian Cordasco
949d3e48fe
Add tests for generate_possible_local_config_files
...
Fix a bug found via testing where we traverse all the way to the root
directory looking for config files.
2016-01-10 08:40:35 -06:00
Ian Cordasco
dd46f02b58
Add config file fixtures
...
Add more ConfigFileFinder tests
2016-01-09 23:02:20 -06:00
Ian Cordasco
8dd160c98e
Start writing tests for the config finder
2016-01-09 22:34:39 -06:00