mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Enable pylint empty-docstring check
Enables check and fixes: ************* Module ipalib.session ipalib/session.py:671: [C0112(empty-docstring), SessionAuthManager] Empty class docstring) ipalib/session.py:705: [C0112(empty-docstring), SessionAuthManager.logout] Empty method docstring) ************* Module ipalib.cli ipalib/cli.py:364: [C0112(empty-docstring), textui.print_entry] Empty method docstring) Reviewed-By: Jan Cholasta <jcholast@redhat.com>
This commit is contained in:
parent
78254a9fdd
commit
ded70b6c6e
@ -363,8 +363,6 @@ class textui(backend.Backend):
|
||||
self.print_entry(entry, order, labels, flags, print_all, format, indent)
|
||||
|
||||
def print_entry(self, entry, order=None, labels=None, flags=None, print_all=True, format='%s: %s', indent=1):
|
||||
"""
|
||||
"""
|
||||
if isinstance(entry, (list, tuple)):
|
||||
entry = dict(entry)
|
||||
assert isinstance(entry, dict)
|
||||
|
@ -669,12 +669,8 @@ class AuthManager(object):
|
||||
self.debug('AuthManager.logout.%s:', self.name)
|
||||
|
||||
class SessionAuthManager(object):
|
||||
'''
|
||||
'''
|
||||
|
||||
def __init__(self):
|
||||
'''
|
||||
'''
|
||||
log_mgr.get_logger(self, True)
|
||||
self.auth_managers = {}
|
||||
|
||||
@ -703,8 +699,6 @@ class SessionAuthManager(object):
|
||||
|
||||
|
||||
def logout(self, session_data):
|
||||
'''
|
||||
'''
|
||||
self.debug('SessionAuthManager.logout:')
|
||||
|
||||
for auth_mgr in self.auth_managers.values():
|
||||
|
@ -290,7 +290,6 @@ def main():
|
||||
linter.set_option('disable', 'bad-mcs-method-argument')
|
||||
linter.set_option('disable', 'bad-whitespace')
|
||||
linter.set_option('disable', 'blacklisted-name')
|
||||
linter.set_option('disable', 'empty-docstring')
|
||||
linter.set_option('disable', 'invalid-name')
|
||||
linter.set_option('disable', 'line-too-long')
|
||||
linter.set_option('disable', 'missing-docstring')
|
||||
|
Loading…
Reference in New Issue
Block a user