fossasia / open-event-server

Function/method with an empty body PTC-W0049
Anti-pattern
Major
5 months ago3 years old
 81        """Method to test uploading of multiple files"""
 82
 83        class FileObj(BytesIO):
 84            def close(self): 85                pass
 86
 87        class MyRequest(Request):
 46        """Method to test uploading of single file"""
 47
 48        class FileObj(BytesIO):
 49            def close(self): 50                pass
 51
 52        class MyRequest(Request):
__init__ doesn't contain any code
102
103
104class BlueprintsManager:
105    def __init__(self):106        pass
107
108    @staticmethod
__init__ doesn't contain any code
  4
  5
  6class Environment:
  7    def __init__(self):  8        pass
  9
 10    DEVELOPMENT = 'development'
__init__ doesn't contain any code
20
21
22class Environment:
23    def __init__(self):24        pass
25
26    DEVELOPMENT = 'development'