Do not ignore E211 rule from Flake8
This commit is contained in:
parent
6b4d705238
commit
29717194fc
@ -98,10 +98,10 @@ def HandlePollResponse_MultipleDiagnostics_test():
|
||||
assert_that( _HandlePollResponse( messages, diagnostics_handler ),
|
||||
equal_to( True ) )
|
||||
diagnostics_handler.UpdateWithNewDiagnosticsForFile.assert_has_exact_calls( [
|
||||
call ( 'foo', [ 'PLACEHOLDER1' ] ),
|
||||
call ( 'bar', [ 'PLACEHOLDER2' ] ),
|
||||
call ( 'baz', [ 'PLACEHOLDER3' ] ),
|
||||
call ( 'foo', [ 'PLACEHOLDER4' ] )
|
||||
call( 'foo', [ 'PLACEHOLDER1' ] ),
|
||||
call( 'bar', [ 'PLACEHOLDER2' ] ),
|
||||
call( 'baz', [ 'PLACEHOLDER3' ] ),
|
||||
call( 'foo', [ 'PLACEHOLDER4' ] )
|
||||
] )
|
||||
|
||||
|
||||
@ -122,10 +122,10 @@ def HandlePollResponse_MultipleMessagesAndDiagnostics_test( post_vim_message ):
|
||||
assert_that( _HandlePollResponse( messages, diagnostics_handler ),
|
||||
equal_to( True ) )
|
||||
diagnostics_handler.UpdateWithNewDiagnosticsForFile.assert_has_exact_calls( [
|
||||
call ( 'foo', [ 'PLACEHOLDER1' ] ),
|
||||
call ( 'bar', [ 'PLACEHOLDER2' ] ),
|
||||
call ( 'baz', [ 'PLACEHOLDER3' ] ),
|
||||
call ( 'foo', [ 'PLACEHOLDER4' ] )
|
||||
call( 'foo', [ 'PLACEHOLDER1' ] ),
|
||||
call( 'bar', [ 'PLACEHOLDER2' ] ),
|
||||
call( 'baz', [ 'PLACEHOLDER3' ] ),
|
||||
call( 'foo', [ 'PLACEHOLDER4' ] )
|
||||
] )
|
||||
|
||||
post_vim_message.assert_has_exact_calls( [
|
||||
|
2
tox.ini
2
tox.ini
@ -1,4 +1,4 @@
|
||||
[flake8]
|
||||
ignore = E111,E114,E121,E125,E126,E127,E128,E129,E131,E133,E201,E202,E203,E211,E221,E222,E241,E251,E261,E303,E402,W503
|
||||
ignore = E111,E114,E121,E125,E126,E127,E128,E129,E131,E133,E201,E202,E203,E221,E222,E241,E251,E261,E303,E402,W503
|
||||
max-complexity = 10
|
||||
max-line-length = 80
|
||||
|
Loading…
Reference in New Issue
Block a user