flake8/tests/unit
Eric N. Vander Weele 7f9f70064c aggregator: Forward --config and --isolated options during aggregation
This fixes a regression introduced in !346 to ensure that `--config` and
`--isolated` are recognized in `aggregate_options()`.

The regression manifested because `aggregate_options()` was relying on
re-parsing `argv` to obtain the option values.  However, !346 changed
the preliminary parsing logic to only parse and "eat" what is necessary
and forward along the options needed before all the configuration was
loaded.  This code path was overlooked because the tests in
`test_aggregator()` were passing but the call from the `Application`
object would never have these options in the remaining `argv` list to be
passed long.
2019-12-29 18:07:51 -05:00
..
conftest.py Add unit test for dd411e95 2019-11-05 22:00:05 +09:00
test_application.py Fixes --exit-zero when empty --diff 2019-12-02 13:47:15 +09:00
test_base_formatter.py linters: Add flake8-bugbear for finding bugs and design problems 2019-10-25 17:11:30 -04:00
test_checker_manager.py Only use multiprocessing when the method is fork 2019-10-28 09:43:30 -07:00
test_config_file_finder.py tests: Verify ConfigFileFinder behavior based on getcwd() 2019-10-13 13:37:19 -04:00
test_debug.py Switch from entrypoints to importlib_metadata 2019-11-28 17:30:52 -08:00
test_decision_engine.py move from optparse to argparse 2019-08-17 20:09:45 -07:00
test_exceptions.py Switch from entrypoints to importlib_metadata 2019-11-28 17:30:52 -08:00
test_file_checker.py Fix python2 unicode test error 2019-01-30 08:55:57 -08:00
test_file_processor.py Remove redundant sample data 2019-11-13 11:58:49 +09:00
test_filenameonly_formatter.py move from optparse to argparse 2019-08-17 20:09:45 -07:00
test_get_local_plugins.py config: Remove args parameter from ConfigFileFinder.__init__ 2019-10-13 13:37:19 -04:00
test_git.py Change how we apply lazy to the git hook 2016-10-25 05:25:44 -05:00
test_legacy_api.py aggregator: Forward --config and --isolated options during aggregation 2019-12-29 18:07:51 -05:00
test_merged_config_parser.py config: Remove args parameter from ConfigFileFinder.__init__ 2019-10-13 13:37:19 -04:00
test_nothing_formatter.py move from optparse to argparse 2019-08-17 20:09:45 -07:00
test_option.py Type annotate flake8.options.manager 2019-09-07 14:37:50 -07:00
test_option_manager.py optmanager: Inherit options from parent argument parsers 2019-10-25 17:07:43 -04:00
test_plugin.py Put plugin options into separate argparse groups 2019-08-19 15:58:34 -07:00
test_plugin_manager.py Switch from entrypoints to importlib_metadata 2019-11-28 17:30:52 -08:00
test_plugin_type_manager.py Switch from entrypoints to importlib_metadata 2019-11-28 17:30:52 -08:00
test_pyflakes_codes.py Fix reporting of UndefinedLocal pyflakes error 2019-01-31 21:55:10 -08:00
test_setuptools_command.py Fix-up new I202 violations 2017-11-26 11:25:06 -06:00
test_statistics.py mypy now passes 2019-05-19 17:31:04 -07:00
test_style_guide.py move from optparse to argparse 2019-08-17 20:09:45 -07:00
test_utils.py utils: Tighten parse_comma_separated_list() contract further 2019-07-28 10:43:06 -04:00
test_violation.py Update test_violation.py 2019-06-16 17:02:54 +00:00