Merge "Cleanup pylint error: attribute_defined_outside_init"

This commit is contained in:
Zuul 2021-11-29 21:41:50 +00:00 committed by Gerrit Code Review
commit c129fce039
3 changed files with 7 additions and 2 deletions

View File

@ -143,6 +143,8 @@ class HTTPClient(httplib2.Http):
# httplib2 overrides
self.disable_ssl_certificate_validation = insecure
self.service_catalog = None
#################
# REQUEST
#################

View File

@ -34,6 +34,10 @@ import os
class CgtsShell(object):
def __init__(self):
self.subcommands = None
self.parser = None
def get_base_parser(self):
parser = argparse.ArgumentParser(
prog='system',

View File

@ -118,7 +118,6 @@ enable=E1603,E1609,E1610,E1602,E1606,E1608,E1607,E1605,E1604,E1601,E1611,W1652,
# W0110: deprecated-lambda
# W0120: useless-else-on-loop
# W0123: eval-used
# W0201: attribute-defined-outside-init
# W0212: protected-access
# W0231: super-init-not-called
# W0235: useless-super-delegation
@ -134,7 +133,7 @@ enable=E1603,E1609,E1610,E1602,E1606,E1608,E1607,E1605,E1604,E1601,E1611,W1652,
# W1401: anomalous-backslash-in-string
# W1618: no-absolute-import
disable=C, R, fixme, W0105, W0108, W0110, W0120, W0123,
W0201, W0212, W0231, W0235, W0402, W0403, W0603, W0611,
W0212, W0231, W0235, W0402, W0403, W0603, W0611,
W0612, W0613, W0622, W0631, W0703, W1401,
W1618