Add flake8-ycm to test requirements
Fix errors reported by flake8-ycm.
This commit is contained in:
parent
8e448920c9
commit
6b4d705238
@ -1,5 +1,6 @@
|
|||||||
flake8 >= 3.0.0
|
flake8 >= 3.0.0
|
||||||
flake8-comprehensions >= 1.4.1
|
flake8-comprehensions >= 1.4.1
|
||||||
|
flake8-ycm >= 0.1.0
|
||||||
mock >= 1.0.1
|
mock >= 1.0.1
|
||||||
nose >= 1.3.7
|
nose >= 1.3.7
|
||||||
PyHamcrest >= 1.8.0
|
PyHamcrest >= 1.8.0
|
||||||
|
@ -977,7 +977,8 @@ def InsertNamespace( namespace ):
|
|||||||
def SearchInCurrentBuffer( pattern ):
|
def SearchInCurrentBuffer( pattern ):
|
||||||
""" Returns the 1-indexed line on which the pattern matches
|
""" Returns the 1-indexed line on which the pattern matches
|
||||||
(going UP from the current position) or 0 if not found """
|
(going UP from the current position) or 0 if not found """
|
||||||
return GetIntValue( "search('{0}', 'Wcnb')".format( EscapeForVim( pattern )))
|
return GetIntValue(
|
||||||
|
"search('{0}', 'Wcnb')".format( EscapeForVim( pattern ) ) )
|
||||||
|
|
||||||
|
|
||||||
def LineTextInCurrentBuffer( line_number ):
|
def LineTextInCurrentBuffer( line_number ):
|
||||||
|
Loading…
Reference in New Issue
Block a user