Ian Cordasco
d2f4e97c31
Delete unnecessary and dead code
2016-01-15 21:39:33 -06:00
Ian Cordasco
f1010b7733
Make plugin and version loading lazy
...
Abstract plugin type management into one class and provide specific
classes for each of our known types of plugins
2016-01-15 10:59:51 -06:00
Ian Cordasco
1870811137
Start working on plugin management
2016-01-14 22:25:02 -06:00
Ian Cordasco
8466d1462f
Start bulding a bit of the cli for functional testing
2016-01-11 23:15:53 -06:00
Ian Cordasco
4018988585
Add a module with defaults
2016-01-11 23:15:23 -06:00
Ian Cordasco
6940ef3aaf
Make log format configurable
2016-01-11 23:15:11 -06:00
Ian Cordasco
d04cb245d3
Move user and local config merging to own method
2016-01-10 15:19:57 -06:00
Ian Cordasco
53d5f0e49a
Add a pre-specified log format
2016-01-10 15:19:34 -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
c33b9d24b1
Add top-level function to configure logging
2016-01-10 13:13:08 -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
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
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
30f4ccda0e
Add docstrings to config module
2016-01-09 22:34:13 -06:00
Ian Cordasco
b4b59a9627
Make Option#normalize more reusable
2016-01-09 21:29:08 -06:00
Ian Cordasco
e076fec666
Add some docstrings to manager module
2016-01-09 21:28:49 -06:00
Ian Cordasco
684f19f5e3
Re-factor normalization in parse_args
2016-01-09 21:17:22 -06:00
Ian Cordasco
237a35fe88
Simplify normalize_paths
2016-01-09 21:14:36 -06:00
Ian Cordasco
a7f7bbbeb2
Handle when dest is provided to Option
2016-01-09 20:29:09 -06:00
Ian Cordasco
a4042d6d69
Start fleshing out flake8.utils
...
Add parse_comma_separated_list, normalize_path, and normalize_paths and
add logic in OptionManager.parse_args to use the right normalize_path*
function based on comma_separated_list value of the option.
2016-01-09 15:58:26 -06:00
Ian Cordasco
ad0200e792
Add failing test for OptionManager.parse_args
2016-01-09 15:33:01 -06:00
Ian Cordasco
36cc254542
Generate dest for Options always
2016-01-09 15:32:44 -06:00
Ian Cordasco
a7ce4f00ec
Start testing the OptionManager
2016-01-09 13:53:59 -06:00
Ian Cordasco
7361603d7a
Flesh out OptionManager#parse_args
2016-01-09 12:56:16 -06:00
Ian Cordasco
93369e112f
Add empty module to start testing options submodule
2016-01-09 12:40:26 -06:00
Ian Cordasco
67aff6d2ec
Updates to config/options aggregation
...
- Adds another flag to the Option class
- Adds normalization to the config parsing
- Removes dead code from _parse_config
- Handles user specifying --append-config, --config, and --isolated
but does not handle their mutual exclusion
2016-01-07 09:37:37 -06:00
Ian Cordasco
07a29e45db
Split flake8.option_parser into submodule
2016-01-04 23:24:11 -06:00
Ian Cordasco
7ec5a2ada3
Sketch out config parsing and option managing
2016-01-04 19:34:53 -06:00
Ian Cordasco
a6d790cc10
Start adding logging for --verbose
2016-01-04 19:34:10 -06:00
Ian Cordasco
f539464368
Start working on our option handling story
2015-12-30 17:26:28 -06:00
Ian Cordasco
37b92cd4b4
Fix logic for Notifier.listeners_for
...
Add tests for proper logic around notifier
2015-12-29 23:28:20 -06:00
Ian Cordasco
222be9ac49
Start adding tests for Notifier class
2015-12-29 23:04:36 -06:00
Ian Cordasco
d3a9f7d58c
Add docstrings to Notifier class
2015-12-29 08:12:54 -06:00
Ian Cordasco
57e8583e29
Add tree/sub-tree traversal to Trie
...
Accurately retrieve listeners for a specific error code
2015-12-29 08:07:47 -06:00
Ian Cordasco
7b2a1c157b
Bare bones of a notification system
2015-12-28 23:32:42 -06:00