flake8/tests
Eric N. Vander Weele aadd09dd8b Set configuration file-provided values via ArgumentParser.set_defaults()
When calling `ArgumentParser.parse_args()` with the `namespace`
argument, command-line options are just added to the  namespace without
going through any of the argument parsing and type conversion logic
(e.g., the `type` keyword argument of `ArgumentParser.add_argument()`).
In other words, it is assumed that a namespace is well-formed from a
previous invocation of `ArgumentParser.parse_args()`.

The `values` parameter is intended to be values already-provided from
configuration files.  To take advantage of the logic defined by
`ArgumentParser.add_argument()`,  utilize
`ArgumentParser.set_defaults()` instead.
2019-08-31 00:10:46 -04:00
..
fixtures Add paths option in local-plugins config file. 2017-10-24 19:58:18 -07:00
integration Hoist passing through sys.argv at the CLI layer 2019-08-29 16:06:02 -04:00
unit Set configuration file-provided values via ArgumentParser.set_defaults() 2019-08-31 00:10:46 -04:00
__init__.py mypy now passes 2019-05-19 17:31:04 -07:00
conftest.py Add a docstring to conftest 2016-01-10 13:15:25 -06:00