flake8/tests/unit
Ian Cordasco 73be9b0e90
Add OptionManager#parse_known_args
If a user specified `--max-complexity` on the command-line, they
would be told that it did not exist. The same would be true of any
option provided by a plugin. This is because we parse the command-line
arguments twice in Flake8 -- the first time to specify the verbosity
and destination for logging, the second time to actually execute Flake8.
Since plugin options are not registered to start with the first time,
they are not valid options. So when we first parse the options, we should
only attempt to parse the ones which we know about.

Closes #168
2016-07-16 10:07:19 -05:00
..
test_base_formatter.py Update tests for errors with no physical line 2016-07-09 20:26:08 -05:00
test_checker_manager.py Configure flake8-import-order to use Google Style 2016-06-17 10:26:36 -05:00
test_config_file_finder.py Revert "Prefer .flake8 if present for options." 2016-06-28 20:47:16 -05:00
test_file_processor.py Handle optional parameters that were never supported 2016-06-28 09:36:24 -05:00
test_merged_config_parser.py Parse hyphenated config names also 2016-06-28 05:47:14 -05:00
test_notifier.py Configure flake8-import-order to use Google Style 2016-06-17 10:26:36 -05:00
test_option.py Configure flake8-import-order to use Google Style 2016-06-17 10:26:36 -05:00
test_option_manager.py Add OptionManager#parse_known_args 2016-07-16 10:07:19 -05:00
test_plugin.py Configure flake8-import-order to use Google Style 2016-06-17 10:26:36 -05:00
test_plugin_manager.py Configure flake8-import-order to use Google Style 2016-06-17 10:26:36 -05:00
test_plugin_type_manager.py Configure flake8-import-order to use Google Style 2016-06-17 10:26:36 -05:00
test_statistics.py Add more tests around our Statistics class 2016-07-12 19:58:44 -05:00
test_style_guide.py Configure flake8-import-order to use Google Style 2016-06-17 10:26:36 -05:00
test_trie.py Start documenting our Trie implementation 2016-02-01 20:09:15 -06:00
test_utils.py Handle optional parameters that were never supported 2016-06-28 09:36:24 -05:00