diff options
author | Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | 2022-04-15 00:37:50 +0200 |
---|---|---|
committer | Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | 2022-04-15 00:37:50 +0200 |
commit | f120a798bbe122e87442fa9df809057777fb658a (patch) | |
tree | a8d2b0fc53da41db9fc6e5db9296a1ca863f39fd /pylint/pyreverse/utils.py | |
parent | 2d9b2781f3c7176ca61071555490cdfb61b02cf9 (diff) | |
download | pylint-git-f120a798bbe122e87442fa9df809057777fb658a.tar.gz |
Add typing and small refactors to pyreverse
Diffstat (limited to 'pylint/pyreverse/utils.py')
-rw-r--r-- | pylint/pyreverse/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pylint/pyreverse/utils.py b/pylint/pyreverse/utils.py index 2bd8585e0..393ff8c77 100644 --- a/pylint/pyreverse/utils.py +++ b/pylint/pyreverse/utils.py @@ -18,7 +18,7 @@ from astroid import nodes RCFILE = ".pyreverserc" -def get_default_options(): +def get_default_options() -> list[str]: """Read config file and return list of options.""" options = [] home = os.environ.get("HOME", "") @@ -32,7 +32,7 @@ def get_default_options(): return options -def insert_default_options(): +def insert_default_options() -> None: """Insert default options to sys.argv.""" options = get_default_options() options.reverse() |