Commit Graph

17 Commits

Author SHA1 Message Date
Daniël van Noord
da50950a95 Allow creation of deprecated and renamed options 2022-04-04 20:21:46 +02:00
Daniël van Noord
843dbf0e54 Refactor the help message 2022-04-04 11:38:58 +02:00
Daniël van Noord
f935d362f5 Refactor all `_Argument` classes 2022-04-04 11:08:07 +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
159329f0f2 Create `_CallableArgument` 2022-04-04 10:27:04 +02:00
Daniël van Noord
efca390ba0 Fix `confidence` argument type 2022-04-02 17:34:05 +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
be43fff0ae Add last missing transformers 2022-04-02 15:35:30 +02:00
Daniël van Noord
d1fc4af20e
Use `argparse config handler in design_analysis.py` (#6118) 2022-04-02 10:15:12 +02:00
Daniël van Noord
064e030775 Use `argparse config handler in imports.py & exceptions.py` 2022-04-02 10:13:40 +02:00
Daniël van Noord
ae524f3beb Use the `argparse config handler in imports.py` 2022-04-02 09:27:52 +02:00
Daniël van Noord
b7a9499767
Use the `argparse config handler in class_checker.py` (#6109) 2022-04-02 09:13:27 +02:00
Daniël van Noord
f3cca6eaf9
Add typing to two utility functions (#6111) 2022-04-02 08:07:40 +02:00
Daniël van Noord
292983376a Use the `argparse config handler in docstring_checker.py` 2022-04-01 23:51:20 +02:00
Daniël van Noord
1fa9fba668 Use transformers instead of validators for `Argument` 2022-04-01 22:42:22 +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