module documentation
Utils for the 'pylint-config' command.
Exception |
|
Raised whenever a user input is invalid. |
Function | get |
Make sure that the output format is either .toml or .ini. |
Function | get |
Make sure that the output file is correct. |
Function | get |
Ask the user if they want to use the minimal setting. |
Function | should |
Decorator that handles InvalidUserInput exceptions and retries. |
Function | validate |
Validate that a yes or no answer is correct. |
Constant | SUPPORTED |
Undocumented |
Constant | YES |
Undocumented |
Constant | _P |
Undocumented |
Type Variable | _ |
Undocumented |
@should_retry_after_invalid_input
def get_and_validate_format() ->
def get_and_validate_format() ->
Literal[ 'toml', 'ini']
:
(source)
¶
Make sure that the output format is either .toml or .ini.
def should_retry_after_invalid_input(func:
Callable[ _P, _ReturnValueT]
) -> Callable[ _P, _ReturnValueT]
:
(source)
¶
Decorator that handles InvalidUserInput exceptions and retries.