From 29717194fcb2bc8ae104d10ec16155dd7e84d268 Mon Sep 17 00:00:00 2001 From: micbou Date: Wed, 30 May 2018 09:04:37 +0200 Subject: [PATCH] Do not ignore E211 rule from Flake8 --- python/ycm/tests/client/messages_request_test.py | 16 ++++++++-------- tox.ini | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/python/ycm/tests/client/messages_request_test.py b/python/ycm/tests/client/messages_request_test.py index 40f0c700..1f89f717 100644 --- a/python/ycm/tests/client/messages_request_test.py +++ b/python/ycm/tests/client/messages_request_test.py @@ -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( [ diff --git a/tox.ini b/tox.ini index 70d6d70a..763a9923 100644 --- a/tox.ini +++ b/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