Commit Graph

16 Commits

Author SHA1 Message Date
Daniël van Noord
c5a5e187f8 Create `_ExtendArgument` 2022-04-14 10:35:21 +02:00
Daniël van Noord
5dc629cb03 Fix handling of rich types in `ini and toml` files 2022-04-11 22:15:45 +02:00
Daniël van Noord
8015f0e05c Use `namespace` in two more checkers 2022-04-11 21:13:58 +02:00
Daniël van Noord
f87a938cec Handle missing keys in option dictionaries 2022-04-11 14:21:47 +02:00
Daniël van Noord
3047faf28b
Handle `group in optdicts and option_groups` (#6207)
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
2022-04-06 18:29:08 +02:00
Daniël van Noord
da50950a95 Allow creation of deprecated and renamed options 2022-04-04 20:21:46 +02:00
Daniël van Noord
ed2faa11a4 Move preprocessing of arguments into `config` directory 2022-04-04 13:10:46 +02:00
Daniël van Noord
843dbf0e54 Refactor the help message 2022-04-04 11:38:58 +02:00
Daniël van Noord
d1a1f402e3 Change naming and imports of `_Arguments` 2022-04-04 11:08:07 +02:00
Daniël van Noord
1a8ed6016b Add TODOs for the final keys of the `optdicts` 2022-04-04 10:27:04 +02:00
Daniël van Noord
159329f0f2 Create `_CallableArgument` 2022-04-04 10:27:04 +02:00
Daniël van Noord
f3f7f3ac06 Handle `optdict flags and confidence` option better 2022-04-04 10:27:04 +02:00
Daniël van Noord
3b8a0207ff Remove `metavar and choices from _StoreTrueArgument` 2022-04-02 17:34:05 +02:00
Daniël van Noord
91318888ce Add a `_StoreTrueArgument` class 2022-04-02 16:00:15 +02:00
Daniël van Noord
fb8c75159e Move `_parse_rich_type_value to utils` 2022-04-02 12:41:46 +02:00
Daniël van Noord
0bc45e9037
Create an Argument class and allow convertion of optdict into them (#5584)
* Use config initialization of ``_ArgumentsManager``
* Allow ``BaseChecker`` to register on a ``_ArgumentsManager``
* Use the ``argparse`` config handler in ``logging.py`` and add tests
2022-03-29 14:44:27 +02:00