Commit graph

11 commits

Author SHA1 Message Date
Ian Cordasco
31c32e3327
Parse hyphenated config names also
Previously Flake8 parsed both

    max-line-length = 110

And

    max_line_length = 110

From the config file without issue. When we updated our logic, I forgot
to test for that and we lost that behaviour temporarily.

Closes #152
2016-06-28 05:47:14 -05:00
Ian Cordasco
8bc76f79de
Configure flake8-import-order to use Google Style
This relies on two things:

1. Properly configuring flake8-import-order to use that style
2. Properly configuring flake8-import-order to know that flake8 is our
   application name.
2016-06-17 10:26:36 -05:00
Ian Cordasco
466ef2e596 Add example configuration sections to the docs
Add tests to verify our examples do not regress
2016-05-28 12:00:47 -05:00
Ian Cordasco
de9f56addf Fix import ordering in test files 2016-02-25 14:41:37 -06:00
Ian Cordasco
cb9231eb9b Add tests around merge_user_and_local_config and parse 2016-01-10 22:07:30 -06:00
Ian Cordasco
e5c3ae5cd2 Add tests for parse_{user,local}_config methods 2016-01-10 21:43:00 -06:00
Ian Cordasco
18bfa1f8a2 Add test for is_configured_by 2016-01-10 15:20:08 -06:00
Ian Cordasco
8c872c4bb9 Add more docstrings and fix lint errors 2016-01-10 14:47:06 -06:00
Ian Cordasco
5903576732 Ignore only D203 and fix Flake8 errors 2016-01-10 14:36:52 -06:00
Ian Cordasco
a8576aff12 Fix bugs found while writing parse_cli_config test 2016-01-10 13:22:18 -06:00
Ian Cordasco
66da9160b4 Start testing MergedConfigParser
Rename the GETINT/GETBOOL sets on the MergedConfigParser to use better
names.
2016-01-10 13:05:35 -06:00