pytest_sftpserver/sftp/interface.py
Showing 1 of 1 total issue
Function write
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. Open
Open
def write(self, offset, data): content = self.content_provider.get(self.path) if content is None: return SFTP_OK if self.content_provider.put(self.path, data) else SFTP_NO_SUCH_FILE
- Read upRead up