motom001/DoorPi

View on GitHub
doorpi/conf/config_object.py

Summary

Maintainability
D
3 days
Test Coverage

Try, Except, Pass detected.
Open

            except: pass
Severity: Info
Found in doorpi/conf/config_object.py by bandit

ConfigObject has 21 functions (exceeds 20 allowed). Consider refactoring.
Open

class ConfigObject():

    __sections = {}
    _config_file = None

Severity: Minor
Found in doorpi/conf/config_object.py - About 2 hrs to fix

    Function get_string has a Cognitive Complexity of 13 (exceeds 5 allowed). Consider refactoring.
    Open

        def get_string(self, section, key, default = '', log = True, password = False, store_if_not_exists = True):
            value = None
            try:
                old_section, old_key = BACKWARD_COMPATIBILITY_KEYS[section][key]
                value = self.__sections[old_section][old_key]
    Severity: Minor
    Found in doorpi/conf/config_object.py - About 1 hr to fix

    Cognitive Complexity

    Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

    A method's cognitive complexity is based on a few simple rules:

    • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
    • Code is considered more complex for each "break in the linear flow of the code"
    • Code is considered more complex when "flow breaking structures are nested"

    Further reading

    Function set_value has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring.
    Open

        def set_value(self, section, key, value, log = True, password = False):
            if section not in self.__sections.keys():
                self.__sections[section] = {}
    
            password_friendly_value = "*******" if key is 'password' or password else value
    Severity: Minor
    Found in doorpi/conf/config_object.py - About 55 mins to fix

    Cognitive Complexity

    Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

    A method's cognitive complexity is based on a few simple rules:

    • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
    • Code is considered more complex for each "break in the linear flow of the code"
    • Code is considered more complex when "flow breaking structures are nested"

    Further reading

    Function get_keys has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring.
    Open

        def get_keys(self, section, filter = '', log = True):
            return_list = []
            if section not in self.__sections:
                logging.warning("section %s not found in configfile", section)
            else:
    Severity: Minor
    Found in doorpi/conf/config_object.py - About 45 mins to fix

    Cognitive Complexity

    Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

    A method's cognitive complexity is based on a few simple rules:

    • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
    • Code is considered more complex for each "break in the linear flow of the code"
    • Code is considered more complex when "flow breaking structures are nested"

    Further reading

    Function save_config has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring.
    Open

        def save_config(self, configfile = ''):
            if not configfile: configfile = self.config_file
            if not configfile: configfile = self.find_config(configfile)
            if not configfile: configfile = doorpi.DoorPi().parse_string(os.path.join('!BASEPATH!', 'conf', 'doorpi.ini'))
    
    
    Severity: Minor
    Found in doorpi/conf/config_object.py - About 45 mins to fix

    Cognitive Complexity

    Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

    A method's cognitive complexity is based on a few simple rules:

    • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
    • Code is considered more complex for each "break in the linear flow of the code"
    • Code is considered more complex when "flow breaking structures are nested"

    Further reading

    Function get_string has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        def get_string(self, section, key, default = '', log = True, password = False, store_if_not_exists = True):
    Severity: Minor
    Found in doorpi/conf/config_object.py - About 45 mins to fix

      Function get_list has 6 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          def get_list(self, section, key, default = [], separator = ',', log = True, store_if_not_exists = True):
      Severity: Minor
      Found in doorpi/conf/config_object.py - About 45 mins to fix

        Function get_boolean has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            def get_boolean(self, section, key, default = False, log = True, store_if_not_exists = True):
        Severity: Minor
        Found in doorpi/conf/config_object.py - About 35 mins to fix

          Function get_integer has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

              def get_integer(self, section, key, default = -1, log = True, store_if_not_exists = True):
          Severity: Minor
          Found in doorpi/conf/config_object.py - About 35 mins to fix

            Function rename_key has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                def rename_key(self, section, old_key, new_key, default = '', log = True):
            Severity: Minor
            Found in doorpi/conf/config_object.py - About 35 mins to fix

              Function set_value has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                  def set_value(self, section, key, value, log = True, password = False):
              Severity: Minor
              Found in doorpi/conf/config_object.py - About 35 mins to fix

                Function get_float has 5 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                    def get_float(self, section, key, default = -1, log = True, store_if_not_exists = True):
                Severity: Minor
                Found in doorpi/conf/config_object.py - About 35 mins to fix

                  Function get_from_config has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
                  Open

                      def get_from_config(self, config, log = True):
                          if log: logger.trace("get_from_config")
                          for section in config.sections():
                              self.__sections[section] = {}
                              for key, value in config.items(section):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py - About 35 mins to fix

                  Cognitive Complexity

                  Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                  A method's cognitive complexity is based on a few simple rules:

                  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                  • Code is considered more complex for each "break in the linear flow of the code"
                  • Code is considered more complex when "flow breaking structures are nested"

                  Further reading

                  Function delete_section has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
                  Open

                      def delete_section(self, section, delete_empty_only = True, log = True):
                          if section in self.__sections and len(self.__sections[section]) > 0 and delete_empty_only:
                              logger.warning("could not delete section %s, because it's not empty.", section)
                              return False
                  
                  
                  Severity: Minor
                  Found in doorpi/conf/config_object.py - About 25 mins to fix

                  Cognitive Complexity

                  Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                  A method's cognitive complexity is based on a few simple rules:

                  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                  • Code is considered more complex for each "break in the linear flow of the code"
                  • Code is considered more complex when "flow breaking structures are nested"

                  Further reading

                  Remove this commented out code.
                  Open

                          #if not configfile: return False
                  Severity: Major
                  Found in doorpi/conf/config_object.py by sonar-python

                  Programmers should not comment out code as it bloats programs and reduces readability.

                  Unused code should be deleted and can be retrieved from source control history if required.

                  See

                  • MISRA C:2004, 2.4 - Sections of code should not be "commented out".
                  • MISRA C++:2008, 2-7-2 - Sections of code shall not be "commented out" using C-style comments.
                  • MISRA C++:2008, 2-7-3 - Sections of code should not be "commented out" using C++ comments.
                  • MISRA C:2012, Dir. 4.4 - Sections of code should not be "commented out"

                  Similar blocks of code found in 2 locations. Consider refactoring.
                  Open

                      def get_float(self, section, key, default = -1, log = True, store_if_not_exists = True):
                          value = self.get_string(section, key, str(default), log = False, store_if_not_exists = store_if_not_exists)
                          if value is not '': value = float(value)
                          else: value = default
                          if log: logger.trace("get_integer for key %s in section %s (default: %s) returns %s", key, section, default, value)
                  Severity: Major
                  Found in doorpi/conf/config_object.py and 1 other location - About 4 hrs to fix
                  doorpi/conf/config_object.py on lines 194..199

                  Duplicated Code

                  Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                  Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                  When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                  Tuning

                  This issue has a mass of 84.

                  We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                  The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                  If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                  See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                  Refactorings

                  Further Reading

                  Similar blocks of code found in 2 locations. Consider refactoring.
                  Open

                      def get_integer(self, section, key, default = -1, log = True, store_if_not_exists = True):
                          value = self.get(section, key, str(default), log = False, store_if_not_exists = store_if_not_exists)
                          if value is not '': value = int(value)
                          else: value = default
                          if log: logger.trace("get_integer for key %s in section %s (default: %s) returns %s", key, section, default, value)
                  Severity: Major
                  Found in doorpi/conf/config_object.py and 1 other location - About 4 hrs to fix
                  doorpi/conf/config_object.py on lines 187..192

                  Duplicated Code

                  Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                  Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                  When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                  Tuning

                  This issue has a mass of 84.

                  We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                  The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                  If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                  See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                  Refactorings

                  Further Reading

                  Similar blocks of code found in 2 locations. Consider refactoring.
                  Open

                              if not os.path.exists(os.path.dirname(configfile)):
                                  logger.info('Path %s does not exist - creating it now', os.path.dirname(configfile))
                                  os.makedirs(os.path.dirname(configfile))
                  Severity: Major
                  Found in doorpi/conf/config_object.py and 1 other location - About 2 hrs to fix
                  doorpi/action/handler.py on lines 45..47

                  Duplicated Code

                  Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                  Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                  When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                  Tuning

                  This issue has a mass of 59.

                  We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                  The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                  If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                  See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                  Refactorings

                  Further Reading

                  Line too long (108 > 79 characters)
                  Open

                              logger.error('No valid configfile found - use parameter --configfile "filename" to specify one')
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def save_config(self, configfile = ''):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                              config = ConfigParser.ConfigParser(allow_no_value = True)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Multiple statements on one line (colon)
                  Open

                              if log: logger.debug("overwrite key %s in section %s from '%s' to '%s'",
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Compound statements (on the same line) are generally discouraged.

                  While sometimes it's okay to put an if/for/while with a small body
                  on the same line, never do this for multi-clause statements.
                  Also avoid folding such long lines!
                  
                  Always use a def statement instead of an assignment statement that
                  binds a lambda expression directly to a name.
                  
                  Okay: if foo == 'blah':\n    do_blah_thing()
                  Okay: do_one()
                  Okay: do_two()
                  Okay: do_three()
                  
                  E701: if foo == 'blah': do_blah_thing()
                  E701: for x in lst: total += x
                  E701: while t < 10: t = delay()
                  E701: if foo == 'blah': do_blah_thing()
                  E701: else: do_non_blah_thing()
                  E701: try: something()
                  E701: finally: cleanup()
                  E701: if foo == 'blah': one(); two(); three()
                  E702: do_one(); do_two(); do_three()
                  E703: do_four();  # useless semicolon
                  E704: def f(x): return 2*x
                  E731: f = lambda x: 2*x

                  Unexpected spaces around keyword / parameter equals
                  Open

                              log = log
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def delete_key(self, section, key, log = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Expected 2 blank lines, found 1
                  Open

                  class ConfigObject():
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Separate top-level function and class definitions with two blank lines.

                  Method definitions inside a class are separated by a single blank
                  line.
                  
                  Extra blank lines may be used (sparingly) to separate groups of
                  related functions.  Blank lines may be omitted between a bunch of
                  related one-liners (e.g. a set of dummy implementations).
                  
                  Use blank lines in functions, sparingly, to indicate logical
                  sections.
                  
                  Okay: def a():\n    pass\n\n\ndef b():\n    pass
                  Okay: def a():\n    pass\n\n\nasync def b():\n    pass
                  Okay: def a():\n    pass\n\n\n# Foo\n# Bar\n\ndef b():\n    pass
                  Okay: default = 1\nfoo = 1
                  Okay: classify = 1\nfoo = 1
                  
                  E301: class Foo:\n    b = 0\n    def bar():\n        pass
                  E302: def a():\n    pass\n\ndef b(n):\n    pass
                  E302: def a():\n    pass\n\nasync def b(n):\n    pass
                  E303: def a():\n    pass\n\n\n\ndef b(n):\n    pass
                  E303: def a():\n\n\n\n    pass
                  E304: @decorator\n\ndef a():\n    pass
                  E305: def a():\n    pass\na()
                  E306: def a():\n    def b():\n        pass\n    def c():\n        pass

                  Multiple statements on one line (colon)
                  Open

                          if not configfile: configfile = self.find_config(configfile)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Compound statements (on the same line) are generally discouraged.

                  While sometimes it's okay to put an if/for/while with a small body
                  on the same line, never do this for multi-clause statements.
                  Also avoid folding such long lines!
                  
                  Always use a def statement instead of an assignment statement that
                  binds a lambda expression directly to a name.
                  
                  Okay: if foo == 'blah':\n    do_blah_thing()
                  Okay: do_one()
                  Okay: do_two()
                  Okay: do_three()
                  
                  E701: if foo == 'blah': do_blah_thing()
                  E701: for x in lst: total += x
                  E701: while t < 10: t = delay()
                  E701: if foo == 'blah': do_blah_thing()
                  E701: else: do_non_blah_thing()
                  E701: try: something()
                  E701: finally: cleanup()
                  E701: if foo == 'blah': one(); two(); three()
                  E702: do_one(); do_two(); do_three()
                  E703: do_four();  # useless semicolon
                  E704: def f(x): return 2*x
                  E731: f = lambda x: 2*x

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_string_parsed(self, section, key, default = '', log = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                              section = section,
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                              value = old_value,
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_string(self, section, key, default = '', log = True, password = False, store_if_not_exists = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_string(self, section, key, default = '', log = True, password = False, store_if_not_exists = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_string(self, section, key, default = '', log = True, password = False, store_if_not_exists = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Module level import not at top of file
                  Open

                  import doorpi
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Place imports at the top of the file.

                  Always put imports at the top of the file, just after any module
                  comments and docstrings, and before module globals and constants.
                  
                  Okay: import os
                  Okay: # this is a comment\nimport os
                  Okay: '''this is a module docstring'''\nimport os
                  Okay: r'''this is a module docstring'''\nimport os
                  Okay:
                  try:\n\timport x\nexcept ImportError:\n\tpass\nelse:\n\tpass\nimport y
                  Okay:
                  try:\n\timport x\nexcept ImportError:\n\tpass\nfinally:\n\tpass\nimport y
                  E402: a=1\nimport os
                  E402: 'One string'\n"Two string"\nimport os
                  E402: a=1\nfrom sys import x
                  
                  Okay: if x:\n    import os

                  Multiple statements on one line (colon)
                  Open

                          if search_for_defaults: configfile_name = ConfigObject.find_config(configfile)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Compound statements (on the same line) are generally discouraged.

                  While sometimes it's okay to put an if/for/while with a small body
                  on the same line, never do this for multi-clause statements.
                  Also avoid folding such long lines!
                  
                  Always use a def statement instead of an assignment statement that
                  binds a lambda expression directly to a name.
                  
                  Okay: if foo == 'blah':\n    do_blah_thing()
                  Okay: do_one()
                  Okay: do_two()
                  Okay: do_three()
                  
                  E701: if foo == 'blah': do_blah_thing()
                  E701: for x in lst: total += x
                  E701: while t < 10: t = delay()
                  E701: if foo == 'blah': do_blah_thing()
                  E701: else: do_non_blah_thing()
                  E701: try: something()
                  E701: finally: cleanup()
                  E701: if foo == 'blah': one(); two(); three()
                  E702: do_one(); do_two(); do_three()
                  E703: do_four();  # useless semicolon
                  E704: def f(x): return 2*x
                  E731: f = lambda x: 2*x

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def set_value(self, section, key, value, log = True, password = False):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Line too long (98 > 79 characters)
                  Open

                          if log: logging.debug('rename key from %s to %s in section %s', old_key, new_key, section)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_string(self, section, key, default = '', log = True, password = False, store_if_not_exists = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def load_config(configfile, search_for_defaults = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Line too long (118 > 79 characters)
                  Open

                          if not configfile: configfile = doorpi.DoorPi().parse_string(os.path.join('!BASEPATH!', 'conf', 'doorpi.ini'))
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Line too long (87 > 79 characters)
                  Open

                          password_friendly_value = "*******" if key is 'password' or password else value
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def delete_section(self, section, delete_empty_only = True, log = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Line too long (98 > 79 characters)
                  Open

                          if section in self.__sections and len(self.__sections[section]) > 0 and delete_empty_only:
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def delete_key(self, section, key, log = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_string(self, section, key, default = '', log = True, password = False, store_if_not_exists = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Multiple statements on one line (colon)
                  Open

                              if store_if_not_exists: self.set_value(section, key, default, log, password)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Compound statements (on the same line) are generally discouraged.

                  While sometimes it's okay to put an if/for/while with a small body
                  on the same line, never do this for multi-clause statements.
                  Also avoid folding such long lines!
                  
                  Always use a def statement instead of an assignment statement that
                  binds a lambda expression directly to a name.
                  
                  Okay: if foo == 'blah':\n    do_blah_thing()
                  Okay: do_one()
                  Okay: do_two()
                  Okay: do_three()
                  
                  E701: if foo == 'blah': do_blah_thing()
                  E701: for x in lst: total += x
                  E701: while t < 10: t = delay()
                  E701: if foo == 'blah': do_blah_thing()
                  E701: else: do_non_blah_thing()
                  E701: try: something()
                  E701: finally: cleanup()
                  E701: if foo == 'blah': one(); two(); three()
                  E702: do_one(); do_two(); do_three()
                  E703: do_four();  # useless semicolon
                  E704: def f(x): return 2*x
                  E731: f = lambda x: 2*x

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def save_config(self, configfile = ''):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def delete_section(self, section, delete_empty_only = True, log = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def delete_section(self, section, delete_empty_only = True, log = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Line too long (97 > 79 characters)
                  Open

                              if log: logger.warning('delete key %s from section %s failed: %s', key, section, exp)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Block comment should start with '# '
                  Open

                          #if not configfile: return False
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Separate inline comments by at least two spaces.

                  An inline comment is a comment on the same line as a statement.
                  Inline comments should be separated by at least two spaces from the
                  statement. They should start with a # and a single space.
                  
                  Each line of a block comment starts with a # and a single space
                  (unless it is indented text inside the comment).
                  
                  Okay: x = x + 1  # Increment x
                  Okay: x = x + 1    # Increment x
                  Okay: # Block comment
                  E261: x = x + 1 # Increment x
                  E262: x = x + 1  #Increment x
                  E262: x = x + 1  #  Increment x
                  E265: #Block comment
                  E266: ### Block comment

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def rename_key(self, section, old_key, new_key, default = '', log = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Line too long (80 > 79 characters)
                  Open

                              if log: logger.warning('delete section %s failed: %s', section, exp)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_string(self, section, key, default = '', log = True, password = False, store_if_not_exists = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Module level import not at top of file
                  Open

                  import os
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Place imports at the top of the file.

                  Always put imports at the top of the file, just after any module
                  comments and docstrings, and before module globals and constants.
                  
                  Okay: import os
                  Okay: # this is a comment\nimport os
                  Okay: '''this is a module docstring'''\nimport os
                  Okay: r'''this is a module docstring'''\nimport os
                  Okay:
                  try:\n\timport x\nexcept ImportError:\n\tpass\nelse:\n\tpass\nimport y
                  Okay:
                  try:\n\timport x\nexcept ImportError:\n\tpass\nfinally:\n\tpass\nimport y
                  E402: a=1\nimport os
                  E402: 'One string'\n"Two string"\nimport os
                  E402: a=1\nfrom sys import x
                  
                  Okay: if x:\n    import os

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def __init__(self, config, config_file = None):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def find_config(configfile = None):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                          config = ConfigParser.ConfigParser(allow_no_value = True)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Multiple statements on one line (colon)
                  Open

                          if log: logging.debug('rename key from %s to %s in section %s', old_key, new_key, section)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Compound statements (on the same line) are generally discouraged.

                  While sometimes it's okay to put an if/for/while with a small body
                  on the same line, never do this for multi-clause statements.
                  Also avoid folding such long lines!
                  
                  Always use a def statement instead of an assignment statement that
                  binds a lambda expression directly to a name.
                  
                  Okay: if foo == 'blah':\n    do_blah_thing()
                  Okay: do_one()
                  Okay: do_two()
                  Okay: do_three()
                  
                  E701: if foo == 'blah': do_blah_thing()
                  E701: for x in lst: total += x
                  E701: while t < 10: t = delay()
                  E701: if foo == 'blah': do_blah_thing()
                  E701: else: do_non_blah_thing()
                  E701: try: something()
                  E701: finally: cleanup()
                  E701: if foo == 'blah': one(); two(); three()
                  E702: do_one(); do_two(); do_three()
                  E703: do_four();  # useless semicolon
                  E704: def f(x): return 2*x
                  E731: f = lambda x: 2*x

                  Line too long (96 > 79 characters)
                  Open

                          old_value = self.get_string(section, old_key, default, log, store_if_not_exists = False)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Unexpected spaces around keyword / parameter equals
                  Open

                              section = section,
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Multiple statements on one line (colon)
                  Open

                              if log: logger.warning('delete section %s failed: %s', section, exp)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Compound statements (on the same line) are generally discouraged.

                  While sometimes it's okay to put an if/for/while with a small body
                  on the same line, never do this for multi-clause statements.
                  Also avoid folding such long lines!
                  
                  Always use a def statement instead of an assignment statement that
                  binds a lambda expression directly to a name.
                  
                  Okay: if foo == 'blah':\n    do_blah_thing()
                  Okay: do_one()
                  Okay: do_two()
                  Okay: do_three()
                  
                  E701: if foo == 'blah': do_blah_thing()
                  E701: for x in lst: total += x
                  E701: while t < 10: t = delay()
                  E701: if foo == 'blah': do_blah_thing()
                  E701: else: do_non_blah_thing()
                  E701: try: something()
                  E701: finally: cleanup()
                  E701: if foo == 'blah': one(); two(); three()
                  E702: do_one(); do_two(); do_three()
                  E703: do_four();  # useless semicolon
                  E704: def f(x): return 2*x
                  E731: f = lambda x: 2*x

                  Line too long (86 > 79 characters)
                  Open

                          if search_for_defaults: configfile_name = ConfigObject.find_config(configfile)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Line too long (102 > 79 characters)
                  Open

                                                   key, section, self.__sections[section][key], password_friendly_value)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def rename_key(self, section, old_key, new_key, default = '', log = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                              value = old_value,
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Line too long (91 > 79 characters)
                  Open

                                  possible_default_file = doorpi.DoorPi().parse_string(possible_default_file)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Multiple statements on one line (colon)
                  Open

                          if not configfile: configfile = self.config_file
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Compound statements (on the same line) are generally discouraged.

                  While sometimes it's okay to put an if/for/while with a small body
                  on the same line, never do this for multi-clause statements.
                  Also avoid folding such long lines!
                  
                  Always use a def statement instead of an assignment statement that
                  binds a lambda expression directly to a name.
                  
                  Okay: if foo == 'blah':\n    do_blah_thing()
                  Okay: do_one()
                  Okay: do_two()
                  Okay: do_three()
                  
                  E701: if foo == 'blah': do_blah_thing()
                  E701: for x in lst: total += x
                  E701: while t < 10: t = delay()
                  E701: if foo == 'blah': do_blah_thing()
                  E701: else: do_non_blah_thing()
                  E701: try: something()
                  E701: finally: cleanup()
                  E701: if foo == 'blah': one(); two(); three()
                  E702: do_one(); do_two(); do_three()
                  E703: do_four();  # useless semicolon
                  E704: def f(x): return 2*x
                  E731: f = lambda x: 2*x

                  Line too long (91 > 79 characters)
                  Open

                              logger.warning("could not delete section %s, because it's not empty.", section)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_string(self, section, key, default = '', log = True, password = False, store_if_not_exists = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Module level import not at top of file
                  Open

                  import ConfigParser
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Place imports at the top of the file.

                  Always put imports at the top of the file, just after any module
                  comments and docstrings, and before module globals and constants.
                  
                  Okay: import os
                  Okay: # this is a comment\nimport os
                  Okay: '''this is a module docstring'''\nimport os
                  Okay: r'''this is a module docstring'''\nimport os
                  Okay:
                  try:\n\timport x\nexcept ImportError:\n\tpass\nelse:\n\tpass\nimport y
                  Okay:
                  try:\n\timport x\nexcept ImportError:\n\tpass\nfinally:\n\tpass\nimport y
                  E402: a=1\nimport os
                  E402: 'One string'\n"Two string"\nimport os
                  E402: a=1\nfrom sys import x
                  
                  Okay: if x:\n    import os

                  Missing whitespace after ','
                  Open

                              cfgfile = open(configfile,'w')
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Each comma, semicolon or colon should be followed by whitespace.

                  Okay: [a, b]
                  Okay: (3,)
                  Okay: a[1:4]
                  Okay: a[:4]
                  Okay: a[1:]
                  Okay: a[1:4:2]
                  E231: ['a','b']
                  E231: foo(bar,baz)
                  E231: [{'a':'b'}]

                  Unexpected spaces around keyword / parameter equals
                  Open

                              config = ConfigParser.ConfigParser(allow_no_value = True)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Line too long (84 > 79 characters)
                  Open

                              if log: logger.debug("overwrite key %s in section %s from '%s' to '%s'",
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Unexpected spaces around keyword / parameter equals
                  Open

                          old_value = self.get_string(section, old_key, default, log, store_if_not_exists = False)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                          self.delete_key(section, old_key, log = log)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                              self.delete_section(section, log = log)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Blank line contains whitespace
                  Open

                          
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Trailing whitespace is superfluous.

                  The warning returned varies on whether the line itself is blank,
                  for easier filtering for those who want to indent their blank lines.
                  
                  Okay: spam(1)\n#
                  W291: spam(1) \n#
                  W293: class Foo(object):\n    \n    bang = 12

                  Unexpected spaces around keyword / parameter equals
                  Open

                          value = self.get(section, key, str(default), log = False, store_if_not_exists = store_if_not_exists)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                          value = self.get(section, key, str(default), log = False, store_if_not_exists = store_if_not_exists)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_sections(self, filter = '', log = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_sections(self, filter = '', log = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def load_config(configfile, search_for_defaults = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Multiple statements on one line (colon)
                  Open

                          else: configfile_name = configfile
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Compound statements (on the same line) are generally discouraged.

                  While sometimes it's okay to put an if/for/while with a small body
                  on the same line, never do this for multi-clause statements.
                  Also avoid folding such long lines!
                  
                  Always use a def statement instead of an assignment statement that
                  binds a lambda expression directly to a name.
                  
                  Okay: if foo == 'blah':\n    do_blah_thing()
                  Okay: do_one()
                  Okay: do_two()
                  Okay: do_three()
                  
                  E701: if foo == 'blah': do_blah_thing()
                  E701: for x in lst: total += x
                  E701: while t < 10: t = delay()
                  E701: if foo == 'blah': do_blah_thing()
                  E701: else: do_non_blah_thing()
                  E701: try: something()
                  E701: finally: cleanup()
                  E701: if foo == 'blah': one(); two(); three()
                  E702: do_one(); do_two(); do_three()
                  E703: do_four();  # useless semicolon
                  E704: def f(x): return 2*x
                  E731: f = lambda x: 2*x

                  Line too long (100 > 79 characters)
                  Open

                                  logger.info('Path %s does not exist - creating it now', os.path.dirname(configfile))
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_string_parsed(self, section, key, default = '', log = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_string_parsed(self, section, key, default = '', log = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Line too long (123 > 79 characters)
                  Open

                              logger.warning('found %s - %s in BACKWARD_COMPATIBILITY_KEYS with %s - %s', section, key, old_section, old_key)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_float(self, section, key, default = -1, log = True, store_if_not_exists = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                          value = self.get_string(section, key, str(default), log = False, store_if_not_exists = store_if_not_exists)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Line too long (94 > 79 characters)
                  Open

                      def get_integer(self, section, key, default = -1, log = True, store_if_not_exists = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Multiple statements on one line (colon)
                  Open

                          except IOError: pass
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Compound statements (on the same line) are generally discouraged.

                  While sometimes it's okay to put an if/for/while with a small body
                  on the same line, never do this for multi-clause statements.
                  Also avoid folding such long lines!
                  
                  Always use a def statement instead of an assignment statement that
                  binds a lambda expression directly to a name.
                  
                  Okay: if foo == 'blah':\n    do_blah_thing()
                  Okay: do_one()
                  Okay: do_two()
                  Okay: do_three()
                  
                  E701: if foo == 'blah': do_blah_thing()
                  E701: for x in lst: total += x
                  E701: while t < 10: t = delay()
                  E701: if foo == 'blah': do_blah_thing()
                  E701: else: do_non_blah_thing()
                  E701: try: something()
                  E701: finally: cleanup()
                  E701: if foo == 'blah': one(); two(); three()
                  E702: do_one(); do_two(); do_three()
                  E703: do_four();  # useless semicolon
                  E704: def f(x): return 2*x
                  E731: f = lambda x: 2*x

                  Multiple statements on one line (colon)
                  Open

                              if log: logger.debug("create new key %s in section %s with value '%s'",
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Compound statements (on the same line) are generally discouraged.

                  While sometimes it's okay to put an if/for/while with a small body
                  on the same line, never do this for multi-clause statements.
                  Also avoid folding such long lines!
                  
                  Always use a def statement instead of an assignment statement that
                  binds a lambda expression directly to a name.
                  
                  Okay: if foo == 'blah':\n    do_blah_thing()
                  Okay: do_one()
                  Okay: do_two()
                  Okay: do_three()
                  
                  E701: if foo == 'blah': do_blah_thing()
                  E701: for x in lst: total += x
                  E701: while t < 10: t = delay()
                  E701: if foo == 'blah': do_blah_thing()
                  E701: else: do_non_blah_thing()
                  E701: try: something()
                  E701: finally: cleanup()
                  E701: if foo == 'blah': one(); two(); three()
                  E702: do_one(); do_two(); do_three()
                  E703: do_four();  # useless semicolon
                  E704: def f(x): return 2*x
                  E731: f = lambda x: 2*x

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def rename_key(self, section, old_key, new_key, default = '', log = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Line too long (111 > 79 characters)
                  Open

                      def get_string(self, section, key, default = '', log = True, password = False, store_if_not_exists = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Block comment should start with '# '
                  Open

                              #logger.trace('no value found - use default')
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Separate inline comments by at least two spaces.

                  An inline comment is a comment on the same line as a statement.
                  Inline comments should be separated by at least two spaces from the
                  statement. They should start with a # and a single space.
                  
                  Each line of a block comment starts with a # and a single space
                  (unless it is indented text inside the comment).
                  
                  Okay: x = x + 1  # Increment x
                  Okay: x = x + 1    # Increment x
                  Okay: # Block comment
                  E261: x = x + 1 # Increment x
                  E262: x = x + 1  #Increment x
                  E262: x = x + 1  #  Increment x
                  E265: #Block comment
                  E266: ### Block comment

                  Unexpected spaces around keyword / parameter equals
                  Open

                          value = self.get(section, key, str(default), log = False, store_if_not_exists = store_if_not_exists)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Multiple statements on one line (colon)
                  Open

                          if log: logger.trace("get_list for key %s in section %s (default: %s) returns %s", key, section, default, value)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Compound statements (on the same line) are generally discouraged.

                  While sometimes it's okay to put an if/for/while with a small body
                  on the same line, never do this for multi-clause statements.
                  Also avoid folding such long lines!
                  
                  Always use a def statement instead of an assignment statement that
                  binds a lambda expression directly to a name.
                  
                  Okay: if foo == 'blah':\n    do_blah_thing()
                  Okay: do_one()
                  Okay: do_two()
                  Okay: do_three()
                  
                  E701: if foo == 'blah': do_blah_thing()
                  E701: for x in lst: total += x
                  E701: while t < 10: t = delay()
                  E701: if foo == 'blah': do_blah_thing()
                  E701: else: do_non_blah_thing()
                  E701: try: something()
                  E701: finally: cleanup()
                  E701: if foo == 'blah': one(); two(); three()
                  E702: do_one(); do_two(); do_three()
                  E703: do_four();  # useless semicolon
                  E704: def f(x): return 2*x
                  E731: f = lambda x: 2*x

                  Line too long (115 > 79 characters)
                  Open

                          value = self.get_string(section, key, str(default), log = False, store_if_not_exists = store_if_not_exists)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_list(self, section, key, default = [], separator = ',', log = True, store_if_not_exists = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Module level import not at top of file
                  Open

                  from backward_compatibility import BACKWARD_COMPATIBILITY_KEYS
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Place imports at the top of the file.

                  Always put imports at the top of the file, just after any module
                  comments and docstrings, and before module globals and constants.
                  
                  Okay: import os
                  Okay: # this is a comment\nimport os
                  Okay: '''this is a module docstring'''\nimport os
                  Okay: r'''this is a module docstring'''\nimport os
                  Okay:
                  try:\n\timport x\nexcept ImportError:\n\tpass\nelse:\n\tpass\nimport y
                  Okay:
                  try:\n\timport x\nexcept ImportError:\n\tpass\nfinally:\n\tpass\nimport y
                  E402: a=1\nimport os
                  E402: 'One string'\n"Two string"\nimport os
                  E402: a=1\nfrom sys import x
                  
                  Okay: if x:\n    import os

                  Multiple statements on one line (colon)
                  Open

                              except: pass
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Compound statements (on the same line) are generally discouraged.

                  While sometimes it's okay to put an if/for/while with a small body
                  on the same line, never do this for multi-clause statements.
                  Also avoid folding such long lines!
                  
                  Always use a def statement instead of an assignment statement that
                  binds a lambda expression directly to a name.
                  
                  Okay: if foo == 'blah':\n    do_blah_thing()
                  Okay: do_one()
                  Okay: do_two()
                  Okay: do_three()
                  
                  E701: if foo == 'blah': do_blah_thing()
                  E701: for x in lst: total += x
                  E701: while t < 10: t = delay()
                  E701: if foo == 'blah': do_blah_thing()
                  E701: else: do_non_blah_thing()
                  E701: try: something()
                  E701: finally: cleanup()
                  E701: if foo == 'blah': one(); two(); three()
                  E702: do_one(); do_two(); do_three()
                  E703: do_four();  # useless semicolon
                  E704: def f(x): return 2*x
                  E731: f = lambda x: 2*x

                  Line too long (83 > 79 characters)
                  Open

                              if log: logger.debug("create new key %s in section %s with value '%s'",
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Unexpected spaces around keyword / parameter equals
                  Open

                              key = new_key,
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Multiple statements on one line (colon)
                  Open

                              if log: logger.info('delete key %s from section %s', key, section)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Compound statements (on the same line) are generally discouraged.

                  While sometimes it's okay to put an if/for/while with a small body
                  on the same line, never do this for multi-clause statements.
                  Also avoid folding such long lines!
                  
                  Always use a def statement instead of an assignment statement that
                  binds a lambda expression directly to a name.
                  
                  Okay: if foo == 'blah':\n    do_blah_thing()
                  Okay: do_one()
                  Okay: do_two()
                  Okay: do_three()
                  
                  E701: if foo == 'blah': do_blah_thing()
                  E701: for x in lst: total += x
                  E701: while t < 10: t = delay()
                  E701: if foo == 'blah': do_blah_thing()
                  E701: else: do_non_blah_thing()
                  E701: try: something()
                  E701: finally: cleanup()
                  E701: if foo == 'blah': one(); two(); three()
                  E702: do_one(); do_two(); do_three()
                  E703: do_four();  # useless semicolon
                  E704: def f(x): return 2*x
                  E731: f = lambda x: 2*x

                  Multiple statements on one line (colon)
                  Open

                              if log: logger.warning('delete key %s from section %s failed: %s', key, section, exp)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Compound statements (on the same line) are generally discouraged.

                  While sometimes it's okay to put an if/for/while with a small body
                  on the same line, never do this for multi-clause statements.
                  Also avoid folding such long lines!
                  
                  Always use a def statement instead of an assignment statement that
                  binds a lambda expression directly to a name.
                  
                  Okay: if foo == 'blah':\n    do_blah_thing()
                  Okay: do_one()
                  Okay: do_two()
                  Okay: do_three()
                  
                  E701: if foo == 'blah': do_blah_thing()
                  E701: for x in lst: total += x
                  E701: while t < 10: t = delay()
                  E701: if foo == 'blah': do_blah_thing()
                  E701: else: do_non_blah_thing()
                  E701: try: something()
                  E701: finally: cleanup()
                  E701: if foo == 'blah': one(); two(); three()
                  E702: do_one(); do_two(); do_three()
                  E703: do_four();  # useless semicolon
                  E704: def f(x): return 2*x
                  E731: f = lambda x: 2*x

                  Multiple statements on one line (colon)
                  Open

                              if log: logger.trace("get_string for key %s in section %s (default: %s) returns %s", key, section, default, '*******')
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Compound statements (on the same line) are generally discouraged.

                  While sometimes it's okay to put an if/for/while with a small body
                  on the same line, never do this for multi-clause statements.
                  Also avoid folding such long lines!
                  
                  Always use a def statement instead of an assignment statement that
                  binds a lambda expression directly to a name.
                  
                  Okay: if foo == 'blah':\n    do_blah_thing()
                  Okay: do_one()
                  Okay: do_two()
                  Okay: do_three()
                  
                  E701: if foo == 'blah': do_blah_thing()
                  E701: for x in lst: total += x
                  E701: while t < 10: t = delay()
                  E701: if foo == 'blah': do_blah_thing()
                  E701: else: do_non_blah_thing()
                  E701: try: something()
                  E701: finally: cleanup()
                  E701: if foo == 'blah': one(); two(); three()
                  E702: do_one(); do_two(); do_three()
                  E703: do_four();  # useless semicolon
                  E704: def f(x): return 2*x
                  E731: f = lambda x: 2*x

                  Unexpected spaces around keyword / parameter equals
                  Open

                          value = self.get_string(section, key, str(default), log = False, store_if_not_exists = store_if_not_exists)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                          value = self.get_string(section, key, str(default), log = False, store_if_not_exists = store_if_not_exists)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Multiple statements on one line (colon)
                  Open

                          if value is not '': value = float(value)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Compound statements (on the same line) are generally discouraged.

                  While sometimes it's okay to put an if/for/while with a small body
                  on the same line, never do this for multi-clause statements.
                  Also avoid folding such long lines!
                  
                  Always use a def statement instead of an assignment statement that
                  binds a lambda expression directly to a name.
                  
                  Okay: if foo == 'blah':\n    do_blah_thing()
                  Okay: do_one()
                  Okay: do_two()
                  Okay: do_three()
                  
                  E701: if foo == 'blah': do_blah_thing()
                  E701: for x in lst: total += x
                  E701: while t < 10: t = delay()
                  E701: if foo == 'blah': do_blah_thing()
                  E701: else: do_non_blah_thing()
                  E701: try: something()
                  E701: finally: cleanup()
                  E701: if foo == 'blah': one(); two(); three()
                  E702: do_one(); do_two(); do_three()
                  E703: do_four();  # useless semicolon
                  E704: def f(x): return 2*x
                  E731: f = lambda x: 2*x

                  Unexpected spaces around keyword / parameter equals
                  Open

                          value = self.get(section, key, str(default), log = False, store_if_not_exists = store_if_not_exists)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_keys(self, section, filter = '', log = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_from_config(self, config, log = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Multiple statements on one line (colon)
                  Open

                                  if key.startswith(';') or key.startswith('#'): continue
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Compound statements (on the same line) are generally discouraged.

                  While sometimes it's okay to put an if/for/while with a small body
                  on the same line, never do this for multi-clause statements.
                  Also avoid folding such long lines!
                  
                  Always use a def statement instead of an assignment statement that
                  binds a lambda expression directly to a name.
                  
                  Okay: if foo == 'blah':\n    do_blah_thing()
                  Okay: do_one()
                  Okay: do_two()
                  Okay: do_three()
                  
                  E701: if foo == 'blah': do_blah_thing()
                  E701: for x in lst: total += x
                  E701: while t < 10: t = delay()
                  E701: if foo == 'blah': do_blah_thing()
                  E701: else: do_non_blah_thing()
                  E701: try: something()
                  E701: finally: cleanup()
                  E701: if foo == 'blah': one(); two(); three()
                  E702: do_one(); do_two(); do_three()
                  E703: do_four();  # useless semicolon
                  E704: def f(x): return 2*x
                  E731: f = lambda x: 2*x

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def __init__(self, config, config_file = None):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Block comment should start with '# '
                  Open

                          #DoorPi().event_handler.unregister_source(__name__, True)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Separate inline comments by at least two spaces.

                  An inline comment is a comment on the same line as a statement.
                  Inline comments should be separated by at least two spaces from the
                  statement. They should start with a # and a single space.
                  
                  Each line of a block comment starts with a # and a single space
                  (unless it is indented text inside the comment).
                  
                  Okay: x = x + 1  # Increment x
                  Okay: x = x + 1    # Increment x
                  Okay: # Block comment
                  E261: x = x + 1 # Increment x
                  E262: x = x + 1  #Increment x
                  E262: x = x + 1  #  Increment x
                  E265: #Block comment
                  E266: ### Block comment

                  Unexpected spaces around keyword / parameter equals
                  Open

                          config = ConfigParser.ConfigParser(allow_no_value = True)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def set_value(self, section, key, value, log = True, password = False):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def rename_key(self, section, old_key, new_key, default = '', log = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                          self.delete_key(section, old_key, log = log)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                              self.delete_section(section, log = log)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_float(self, section, key, default = -1, log = True, store_if_not_exists = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_integer(self, section, key, default = -1, log = True, store_if_not_exists = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Multiple statements on one line (colon)
                  Open

                          else: value = default
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Compound statements (on the same line) are generally discouraged.

                  While sometimes it's okay to put an if/for/while with a small body
                  on the same line, never do this for multi-clause statements.
                  Also avoid folding such long lines!
                  
                  Always use a def statement instead of an assignment statement that
                  binds a lambda expression directly to a name.
                  
                  Okay: if foo == 'blah':\n    do_blah_thing()
                  Okay: do_one()
                  Okay: do_two()
                  Okay: do_three()
                  
                  E701: if foo == 'blah': do_blah_thing()
                  E701: for x in lst: total += x
                  E701: while t < 10: t = delay()
                  E701: if foo == 'blah': do_blah_thing()
                  E701: else: do_non_blah_thing()
                  E701: try: something()
                  E701: finally: cleanup()
                  E701: if foo == 'blah': one(); two(); three()
                  E702: do_one(); do_two(); do_three()
                  E703: do_four();  # useless semicolon
                  E704: def f(x): return 2*x
                  E731: f = lambda x: 2*x

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_boolean(self, section, key, default = False, log = True, store_if_not_exists = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_list(self, section, key, default = [], separator = ',', log = True, store_if_not_exists = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_list(self, section, key, default = [], separator = ',', log = True, store_if_not_exists = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_keys(self, section, filter = '', log = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Multiple statements on one line (colon)
                  Open

                                  if filter in key: return_list.append(key)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Compound statements (on the same line) are generally discouraged.

                  While sometimes it's okay to put an if/for/while with a small body
                  on the same line, never do this for multi-clause statements.
                  Also avoid folding such long lines!
                  
                  Always use a def statement instead of an assignment statement that
                  binds a lambda expression directly to a name.
                  
                  Okay: if foo == 'blah':\n    do_blah_thing()
                  Okay: do_one()
                  Okay: do_two()
                  Okay: do_three()
                  
                  E701: if foo == 'blah': do_blah_thing()
                  E701: for x in lst: total += x
                  E701: while t < 10: t = delay()
                  E701: if foo == 'blah': do_blah_thing()
                  E701: else: do_non_blah_thing()
                  E701: try: something()
                  E701: finally: cleanup()
                  E701: if foo == 'blah': one(); two(); three()
                  E702: do_one(); do_two(); do_three()
                  E703: do_four();  # useless semicolon
                  E704: def f(x): return 2*x
                  E731: f = lambda x: 2*x

                  Line too long (126 > 79 characters)
                  Open

                              if log: logger.trace("get_string for key %s in section %s (default: %s) returns %s", key, section, default, value)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_float(self, section, key, default = -1, log = True, store_if_not_exists = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_list(self, section, key, default = [], separator = ',', log = True, store_if_not_exists = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_list(self, section, key, default = [], separator = ',', log = True, store_if_not_exists = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Multiple statements on one line (colon)
                  Open

                          if log: logger.trace("get_keys for section %s returns %s", section, return_list)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Compound statements (on the same line) are generally discouraged.

                  While sometimes it's okay to put an if/for/while with a small body
                  on the same line, never do this for multi-clause statements.
                  Also avoid folding such long lines!
                  
                  Always use a def statement instead of an assignment statement that
                  binds a lambda expression directly to a name.
                  
                  Okay: if foo == 'blah':\n    do_blah_thing()
                  Okay: do_one()
                  Okay: do_two()
                  Okay: do_three()
                  
                  E701: if foo == 'blah': do_blah_thing()
                  E701: for x in lst: total += x
                  E701: while t < 10: t = delay()
                  E701: if foo == 'blah': do_blah_thing()
                  E701: else: do_non_blah_thing()
                  E701: try: something()
                  E701: finally: cleanup()
                  E701: if foo == 'blah': one(); two(); three()
                  E702: do_one(); do_two(); do_three()
                  E703: do_four();  # useless semicolon
                  E704: def f(x): return 2*x
                  E731: f = lambda x: 2*x

                  Line too long (123 > 79 characters)
                  Open

                          if log: logger.trace("get_integer for key %s in section %s (default: %s) returns %s", key, section, default, value)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Unexpected spaces around keyword / parameter equals
                  Open

                          value = self.get(section, key, str(default), log = False, store_if_not_exists = store_if_not_exists)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_boolean(self, section, key, default = False, log = True, store_if_not_exists = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Line too long (108 > 79 characters)
                  Open

                          value = self.get(section, key, str(default), log = False, store_if_not_exists = store_if_not_exists)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Multiple statements on one line (colon)
                  Open

                          else: value = default
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Compound statements (on the same line) are generally discouraged.

                  While sometimes it's okay to put an if/for/while with a small body
                  on the same line, never do this for multi-clause statements.
                  Also avoid folding such long lines!
                  
                  Always use a def statement instead of an assignment statement that
                  binds a lambda expression directly to a name.
                  
                  Okay: if foo == 'blah':\n    do_blah_thing()
                  Okay: do_one()
                  Okay: do_two()
                  Okay: do_three()
                  
                  E701: if foo == 'blah': do_blah_thing()
                  E701: for x in lst: total += x
                  E701: while t < 10: t = delay()
                  E701: if foo == 'blah': do_blah_thing()
                  E701: else: do_non_blah_thing()
                  E701: try: something()
                  E701: finally: cleanup()
                  E701: if foo == 'blah': one(); two(); three()
                  E702: do_one(); do_two(); do_three()
                  E703: do_four();  # useless semicolon
                  E704: def f(x): return 2*x
                  E731: f = lambda x: 2*x

                  Multiple statements on one line (colon)
                  Open

                          if log: logger.trace("get_sections returns %s", return_list)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Compound statements (on the same line) are generally discouraged.

                  While sometimes it's okay to put an if/for/while with a small body
                  on the same line, never do this for multi-clause statements.
                  Also avoid folding such long lines!
                  
                  Always use a def statement instead of an assignment statement that
                  binds a lambda expression directly to a name.
                  
                  Okay: if foo == 'blah':\n    do_blah_thing()
                  Okay: do_one()
                  Okay: do_two()
                  Okay: do_three()
                  
                  E701: if foo == 'blah': do_blah_thing()
                  E701: for x in lst: total += x
                  E701: while t < 10: t = delay()
                  E701: if foo == 'blah': do_blah_thing()
                  E701: else: do_non_blah_thing()
                  E701: try: something()
                  E701: finally: cleanup()
                  E701: if foo == 'blah': one(); two(); three()
                  E702: do_one(); do_two(); do_three()
                  E703: do_four();  # useless semicolon
                  E704: def f(x): return 2*x
                  E731: f = lambda x: 2*x

                  Line too long (88 > 79 characters)
                  Open

                          if log: logger.trace("get_keys for section %s returns %s", section, return_list)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Multiple statements on one line (colon)
                  Open

                          if log: logger.trace("get_from_config")
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Compound statements (on the same line) are generally discouraged.

                  While sometimes it's okay to put an if/for/while with a small body
                  on the same line, never do this for multi-clause statements.
                  Also avoid folding such long lines!
                  
                  Always use a def statement instead of an assignment statement that
                  binds a lambda expression directly to a name.
                  
                  Okay: if foo == 'blah':\n    do_blah_thing()
                  Okay: do_one()
                  Okay: do_two()
                  Okay: do_three()
                  
                  E701: if foo == 'blah': do_blah_thing()
                  E701: for x in lst: total += x
                  E701: while t < 10: t = delay()
                  E701: if foo == 'blah': do_blah_thing()
                  E701: else: do_non_blah_thing()
                  E701: try: something()
                  E701: finally: cleanup()
                  E701: if foo == 'blah': one(); two(); three()
                  E702: do_one(); do_two(); do_three()
                  E703: do_four();  # useless semicolon
                  E704: def f(x): return 2*x
                  E731: f = lambda x: 2*x

                  Do not use bare 'except'
                  Open

                              except: pass
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  When catching exceptions, mention specific exceptions when possible.

                  Okay: except Exception:
                  Okay: except BaseException:
                  E722: except:

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def set_value(self, section, key, value, log = True, password = False):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                          old_value = self.get_string(section, old_key, default, log, store_if_not_exists = False)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                              key = new_key,
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                              log = log
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_float(self, section, key, default = -1, log = True, store_if_not_exists = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Multiple statements on one line (colon)
                  Open

                          else: value = default
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Compound statements (on the same line) are generally discouraged.

                  While sometimes it's okay to put an if/for/while with a small body
                  on the same line, never do this for multi-clause statements.
                  Also avoid folding such long lines!
                  
                  Always use a def statement instead of an assignment statement that
                  binds a lambda expression directly to a name.
                  
                  Okay: if foo == 'blah':\n    do_blah_thing()
                  Okay: do_one()
                  Okay: do_two()
                  Okay: do_three()
                  
                  E701: if foo == 'blah': do_blah_thing()
                  E701: for x in lst: total += x
                  E701: while t < 10: t = delay()
                  E701: if foo == 'blah': do_blah_thing()
                  E701: else: do_non_blah_thing()
                  E701: try: something()
                  E701: finally: cleanup()
                  E701: if foo == 'blah': one(); two(); three()
                  E702: do_one(); do_two(); do_three()
                  E703: do_four();  # useless semicolon
                  E704: def f(x): return 2*x
                  E731: f = lambda x: 2*x

                  Multiple statements on one line (colon)
                  Open

                          if log: logger.trace("get_integer for key %s in section %s (default: %s) returns %s", key, section, default, value)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Compound statements (on the same line) are generally discouraged.

                  While sometimes it's okay to put an if/for/while with a small body
                  on the same line, never do this for multi-clause statements.
                  Also avoid folding such long lines!
                  
                  Always use a def statement instead of an assignment statement that
                  binds a lambda expression directly to a name.
                  
                  Okay: if foo == 'blah':\n    do_blah_thing()
                  Okay: do_one()
                  Okay: do_two()
                  Okay: do_three()
                  
                  E701: if foo == 'blah': do_blah_thing()
                  E701: for x in lst: total += x
                  E701: while t < 10: t = delay()
                  E701: if foo == 'blah': do_blah_thing()
                  E701: else: do_non_blah_thing()
                  E701: try: something()
                  E701: finally: cleanup()
                  E701: if foo == 'blah': one(); two(); three()
                  E702: do_one(); do_two(); do_three()
                  E703: do_four();  # useless semicolon
                  E704: def f(x): return 2*x
                  E731: f = lambda x: 2*x

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_integer(self, section, key, default = -1, log = True, store_if_not_exists = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Multiple statements on one line (colon)
                  Open

                          if value is not '': value = int(value)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Compound statements (on the same line) are generally discouraged.

                  While sometimes it's okay to put an if/for/while with a small body
                  on the same line, never do this for multi-clause statements.
                  Also avoid folding such long lines!
                  
                  Always use a def statement instead of an assignment statement that
                  binds a lambda expression directly to a name.
                  
                  Okay: if foo == 'blah':\n    do_blah_thing()
                  Okay: do_one()
                  Okay: do_two()
                  Okay: do_three()
                  
                  E701: if foo == 'blah': do_blah_thing()
                  E701: for x in lst: total += x
                  E701: while t < 10: t = delay()
                  E701: if foo == 'blah': do_blah_thing()
                  E701: else: do_non_blah_thing()
                  E701: try: something()
                  E701: finally: cleanup()
                  E701: if foo == 'blah': one(); two(); three()
                  E702: do_one(); do_two(); do_three()
                  E703: do_four();  # useless semicolon
                  E704: def f(x): return 2*x
                  E731: f = lambda x: 2*x

                  Line too long (108 > 79 characters)
                  Open

                          value = self.get(section, key, str(default), log = False, store_if_not_exists = store_if_not_exists)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_list(self, section, key, default = [], separator = ',', log = True, store_if_not_exists = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_keys(self, section, filter = '', log = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Line too long (130 > 79 characters)
                  Open

                              if log: logger.trace("get_string for key %s in section %s (default: %s) returns %s", key, section, default, '*******')
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_integer(self, section, key, default = -1, log = True, store_if_not_exists = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def find_config(configfile = None):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Line too long (97 > 79 characters)
                  Open

                      def get_boolean(self, section, key, default = False, log = True, store_if_not_exists = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Multiple statements on one line (colon)
                  Open

                          if log: logger.trace("get_boolean for key %s in section %s (default: %s) returns %s", key, section, default, value)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Compound statements (on the same line) are generally discouraged.

                  While sometimes it's okay to put an if/for/while with a small body
                  on the same line, never do this for multi-clause statements.
                  Also avoid folding such long lines!
                  
                  Always use a def statement instead of an assignment statement that
                  binds a lambda expression directly to a name.
                  
                  Okay: if foo == 'blah':\n    do_blah_thing()
                  Okay: do_one()
                  Okay: do_two()
                  Okay: do_three()
                  
                  E701: if foo == 'blah': do_blah_thing()
                  E701: for x in lst: total += x
                  E701: while t < 10: t = delay()
                  E701: if foo == 'blah': do_blah_thing()
                  E701: else: do_non_blah_thing()
                  E701: try: something()
                  E701: finally: cleanup()
                  E701: if foo == 'blah': one(); two(); three()
                  E702: do_one(); do_two(); do_three()
                  E703: do_four();  # useless semicolon
                  E704: def f(x): return 2*x
                  E731: f = lambda x: 2*x

                  Multiple statements on one line (colon)
                  Open

                          except AttributeError: pass
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Compound statements (on the same line) are generally discouraged.

                  While sometimes it's okay to put an if/for/while with a small body
                  on the same line, never do this for multi-clause statements.
                  Also avoid folding such long lines!
                  
                  Always use a def statement instead of an assignment statement that
                  binds a lambda expression directly to a name.
                  
                  Okay: if foo == 'blah':\n    do_blah_thing()
                  Okay: do_one()
                  Okay: do_two()
                  Okay: do_three()
                  
                  E701: if foo == 'blah': do_blah_thing()
                  E701: for x in lst: total += x
                  E701: while t < 10: t = delay()
                  E701: if foo == 'blah': do_blah_thing()
                  E701: else: do_non_blah_thing()
                  E701: try: something()
                  E701: finally: cleanup()
                  E701: if foo == 'blah': one(); two(); three()
                  E702: do_one(); do_two(); do_three()
                  E703: do_four();  # useless semicolon
                  E704: def f(x): return 2*x
                  E731: f = lambda x: 2*x

                  Unexpected spaces around keyword / parameter equals
                  Open

                          value = self.get(section, key, str(default), log = False, store_if_not_exists = store_if_not_exists)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Multiple statements on one line (colon)
                  Open

                          if not configfile: configfile = doorpi.DoorPi().parse_string(os.path.join('!BASEPATH!', 'conf', 'doorpi.ini'))
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Compound statements (on the same line) are generally discouraged.

                  While sometimes it's okay to put an if/for/while with a small body
                  on the same line, never do this for multi-clause statements.
                  Also avoid folding such long lines!
                  
                  Always use a def statement instead of an assignment statement that
                  binds a lambda expression directly to a name.
                  
                  Okay: if foo == 'blah':\n    do_blah_thing()
                  Okay: do_one()
                  Okay: do_two()
                  Okay: do_three()
                  
                  E701: if foo == 'blah': do_blah_thing()
                  E701: for x in lst: total += x
                  E701: while t < 10: t = delay()
                  E701: if foo == 'blah': do_blah_thing()
                  E701: else: do_non_blah_thing()
                  E701: try: something()
                  E701: finally: cleanup()
                  E701: if foo == 'blah': one(); two(); three()
                  E702: do_one(); do_two(); do_three()
                  E703: do_four();  # useless semicolon
                  E704: def f(x): return 2*x
                  E731: f = lambda x: 2*x

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_string_parsed(self, section, key, default = '', log = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def set_value(self, section, key, value, log = True, password = False):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def delete_section(self, section, delete_empty_only = True, log = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_string(self, section, key, default = '', log = True, password = False, store_if_not_exists = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Line too long (88 > 79 characters)
                  Open

                              if store_if_not_exists: self.set_value(section, key, default, log, password)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Multiple statements on one line (colon)
                  Open

                              if log: logger.trace("get_string for key %s in section %s (default: %s) returns %s", key, section, default, value)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Compound statements (on the same line) are generally discouraged.

                  While sometimes it's okay to put an if/for/while with a small body
                  on the same line, never do this for multi-clause statements.
                  Also avoid folding such long lines!
                  
                  Always use a def statement instead of an assignment statement that
                  binds a lambda expression directly to a name.
                  
                  Okay: if foo == 'blah':\n    do_blah_thing()
                  Okay: do_one()
                  Okay: do_two()
                  Okay: do_three()
                  
                  E701: if foo == 'blah': do_blah_thing()
                  E701: for x in lst: total += x
                  E701: while t < 10: t = delay()
                  E701: if foo == 'blah': do_blah_thing()
                  E701: else: do_non_blah_thing()
                  E701: try: something()
                  E701: finally: cleanup()
                  E701: if foo == 'blah': one(); two(); three()
                  E702: do_one(); do_two(); do_three()
                  E703: do_four();  # useless semicolon
                  E704: def f(x): return 2*x
                  E731: f = lambda x: 2*x

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_float(self, section, key, default = -1, log = True, store_if_not_exists = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_integer(self, section, key, default = -1, log = True, store_if_not_exists = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_boolean(self, section, key, default = False, log = True, store_if_not_exists = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_list(self, section, key, default = [], separator = ',', log = True, store_if_not_exists = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Line too long (92 > 79 characters)
                  Open

                      def get_float(self, section, key, default = -1, log = True, store_if_not_exists = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Unexpected spaces around keyword / parameter equals
                  Open

                          value = self.get_string(section, key, str(default), log = False, store_if_not_exists = store_if_not_exists)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                          value = self.get(section, key, str(default), log = False, store_if_not_exists = store_if_not_exists)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Line too long (123 > 79 characters)
                  Open

                          if log: logger.trace("get_integer for key %s in section %s (default: %s) returns %s", key, section, default, value)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Unexpected spaces around keyword / parameter equals
                  Open

                          value = self.get(section, key, str(default), log = False, store_if_not_exists = store_if_not_exists)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                          value = self.get(section, key, str(default), log = False, store_if_not_exists = store_if_not_exists)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Line too long (123 > 79 characters)
                  Open

                          if log: logger.trace("get_boolean for key %s in section %s (default: %s) returns %s", key, section, default, value)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_integer(self, section, key, default = -1, log = True, store_if_not_exists = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Multiple statements on one line (colon)
                  Open

                          if log: logger.trace("get_integer for key %s in section %s (default: %s) returns %s", key, section, default, value)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Compound statements (on the same line) are generally discouraged.

                  While sometimes it's okay to put an if/for/while with a small body
                  on the same line, never do this for multi-clause statements.
                  Also avoid folding such long lines!
                  
                  Always use a def statement instead of an assignment statement that
                  binds a lambda expression directly to a name.
                  
                  Okay: if foo == 'blah':\n    do_blah_thing()
                  Okay: do_one()
                  Okay: do_two()
                  Okay: do_three()
                  
                  E701: if foo == 'blah': do_blah_thing()
                  E701: for x in lst: total += x
                  E701: while t < 10: t = delay()
                  E701: if foo == 'blah': do_blah_thing()
                  E701: else: do_non_blah_thing()
                  E701: try: something()
                  E701: finally: cleanup()
                  E701: if foo == 'blah': one(); two(); three()
                  E702: do_one(); do_two(); do_three()
                  E703: do_four();  # useless semicolon
                  E704: def f(x): return 2*x
                  E731: f = lambda x: 2*x

                  Line too long (108 > 79 characters)
                  Open

                      def get_list(self, section, key, default = [], separator = ',', log = True, store_if_not_exists = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Multiple statements on one line (colon)
                  Open

                          if value is not '': value = value.split(separator)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Compound statements (on the same line) are generally discouraged.

                  While sometimes it's okay to put an if/for/while with a small body
                  on the same line, never do this for multi-clause statements.
                  Also avoid folding such long lines!
                  
                  Always use a def statement instead of an assignment statement that
                  binds a lambda expression directly to a name.
                  
                  Okay: if foo == 'blah':\n    do_blah_thing()
                  Okay: do_one()
                  Okay: do_two()
                  Okay: do_three()
                  
                  E701: if foo == 'blah': do_blah_thing()
                  E701: for x in lst: total += x
                  E701: while t < 10: t = delay()
                  E701: if foo == 'blah': do_blah_thing()
                  E701: else: do_non_blah_thing()
                  E701: try: something()
                  E701: finally: cleanup()
                  E701: if foo == 'blah': one(); two(); three()
                  E702: do_one(); do_two(); do_three()
                  E703: do_four();  # useless semicolon
                  E704: def f(x): return 2*x
                  E731: f = lambda x: 2*x

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_keys(self, section, filter = '', log = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Line too long (108 > 79 characters)
                  Open

                          value = self.get(section, key, str(default), log = False, store_if_not_exists = store_if_not_exists)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_boolean(self, section, key, default = False, log = True, store_if_not_exists = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                          value = self.get(section, key, str(default), log = False, store_if_not_exists = store_if_not_exists)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_list(self, section, key, default = [], separator = ',', log = True, store_if_not_exists = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Line too long (120 > 79 characters)
                  Open

                          if log: logger.trace("get_list for key %s in section %s (default: %s) returns %s", key, section, default, value)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_sections(self, filter = '', log = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_integer(self, section, key, default = -1, log = True, store_if_not_exists = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                          value = self.get(section, key, str(default), log = False, store_if_not_exists = store_if_not_exists)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_float(self, section, key, default = -1, log = True, store_if_not_exists = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_boolean(self, section, key, default = False, log = True, store_if_not_exists = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_boolean(self, section, key, default = False, log = True, store_if_not_exists = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                          value = self.get(section, key, str(default), log = False, store_if_not_exists = store_if_not_exists)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_sections(self, filter = '', log = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  Multiple statements on one line (colon)
                  Open

                              if filter in section: return_list.append(section)
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Compound statements (on the same line) are generally discouraged.

                  While sometimes it's okay to put an if/for/while with a small body
                  on the same line, never do this for multi-clause statements.
                  Also avoid folding such long lines!
                  
                  Always use a def statement instead of an assignment statement that
                  binds a lambda expression directly to a name.
                  
                  Okay: if foo == 'blah':\n    do_blah_thing()
                  Okay: do_one()
                  Okay: do_two()
                  Okay: do_three()
                  
                  E701: if foo == 'blah': do_blah_thing()
                  E701: for x in lst: total += x
                  E701: while t < 10: t = delay()
                  E701: if foo == 'blah': do_blah_thing()
                  E701: else: do_non_blah_thing()
                  E701: try: something()
                  E701: finally: cleanup()
                  E701: if foo == 'blah': one(); two(); three()
                  E702: do_one(); do_two(); do_three()
                  E703: do_four();  # useless semicolon
                  E704: def f(x): return 2*x
                  E731: f = lambda x: 2*x

                  Unexpected spaces around keyword / parameter equals
                  Open

                      def get_from_config(self, config, log = True):
                  Severity: Minor
                  Found in doorpi/conf/config_object.py by pep8

                  Don't use spaces around the '=' sign in function arguments.

                  Don't use spaces around the '=' sign when used to indicate a
                  keyword argument or a default parameter value, except when
                  using a type annotation.
                  
                  Okay: def complex(real, imag=0.0):
                  Okay: return magic(r=real, i=imag)
                  Okay: boolean(a == b)
                  Okay: boolean(a != b)
                  Okay: boolean(a <= b)
                  Okay: boolean(a >= b)
                  Okay: def foo(arg: int = 42):
                  Okay: async def foo(arg: int = 42):
                  
                  E251: def complex(real, imag = 0.0):
                  E251: return magic(r = real, i = imag)
                  E252: def complex(real, image: float=0.0):

                  There are no issues that match your filters.

                  Category
                  Status