From 4e95e5d406dd60738d64d5be02287ee413f822ce Mon Sep 17 00:00:00 2001 From: Ben Jackson Date: Thu, 21 Dec 2017 23:23:03 +0000 Subject: [PATCH] Very minor typographical changes (NFC) --- python/ycm/youcompleteme.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/python/ycm/youcompleteme.py b/python/ycm/youcompleteme.py index 1a7ac2cb..2b958303 100644 --- a/python/ycm/youcompleteme.py +++ b/python/ycm/youcompleteme.py @@ -123,15 +123,15 @@ class YouCompleteMe( object ): self._filetypes_with_keywords_loaded = set() self._ycmd_keepalive = YcmdKeepalive() self._server_is_ready_with_cache = False - self._SetupLogging() - self._SetupServer() + self._SetUpLogging() + self._SetUpServer() self._ycmd_keepalive.Start() self._complete_done_hooks = { 'cs': lambda self: self._OnCompleteDone_Csharp() } - def _SetupServer( self ): + def _SetUpServer( self ): self._available_completers = {} self._user_notified_about_crash = False self._filetypes_with_keywords_loaded = set() @@ -186,7 +186,7 @@ class YouCompleteMe( object ): stdout = PIPE, stderr = PIPE ) - def _SetupLogging( self ): + def _SetUpLogging( self ): def FreeFileFromOtherProcesses( file_object ): if utils.OnWindows(): from ctypes import windll @@ -283,7 +283,7 @@ class YouCompleteMe( object ): def RestartServer( self ): vimsupport.PostVimMessage( 'Restarting ycmd server...' ) self._ShutdownServer() - self._SetupServer() + self._SetUpServer() def SendCompletionRequest( self, force_semantic = False ): @@ -683,7 +683,7 @@ class YouCompleteMe( object ): if '*' in filetype_to_disable: return False else: - return not any([ x in filetype_to_disable for x in filetypes ]) + return not any( [ x in filetype_to_disable for x in filetypes ] ) def ShowDetailedDiagnostic( self ):