diff options
author | John L. Villalovos <john@sodarock.com> | 2021-04-18 12:06:07 -0700 |
---|---|---|
committer | John L. Villalovos <john@sodarock.com> | 2021-04-27 21:04:58 -0700 |
commit | 6aef2dadf715e601ae9c302be0ad9958345a97f2 (patch) | |
tree | d254ecefd18029eb15d28bec0f9293caa4219e6b /gitlab/config.py | |
parent | a6b6cd4b598ab6eddcf3986486d43e5cdc990e09 (diff) | |
download | gitlab-6aef2dadf715e601ae9c302be0ad9958345a97f2.tar.gz |
chore: mypy: Disallow untyped definitions
Be more strict and don't allow untyped definitions on the files we
check.
Also this adds type-hints for two of the decorators so that now
functions/methods decorated by them will have their types be revealed
correctly.
Diffstat (limited to 'gitlab/config.py')
-rw-r--r-- | gitlab/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/config.py b/gitlab/config.py index c663bf8..d2a05df 100644 --- a/gitlab/config.py +++ b/gitlab/config.py @@ -206,7 +206,7 @@ class GitlabConfigParser(object): except Exception: pass - def _get_values_from_helper(self): + def _get_values_from_helper(self) -> None: """Update attributes that may get values from an external helper program""" for attr in HELPER_ATTRIBUTES: value = getattr(self, attr) |