From acc05b45a7e10fa6a9e4e4000f45f3d50c4eab5c Mon Sep 17 00:00:00 2001 From: Steve Baker Date: Fri, 18 Feb 2022 12:50:30 +1300 Subject: [PATCH] Ensure tox.ini is ASCII The left/right single quotation marks cause an ascii decode error in some python3.6 environments. Change-Id: I80d1b3e7f9e2e23ddaca640714a342b63ae3a5fa (cherry picked from commit b8ef35a98462c0605aa6efa47932f03e34cf994a) --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 4601cee7fb..be846fd20e 100644 --- a/tox.ini +++ b/tox.ini @@ -120,7 +120,7 @@ max-complexity=18 # [H203] Use assertIs(Not)None to check for None. # [H204] Use assert(Not)Equal to check for equality. # [H205] Use assert(Greater|Less)(Equal) for comparison. -# [H210] Require ‘autospec’, ‘spec’, or ‘spec_set’ in mock.patch/mock.patch.object calls +# [H210] Require 'autospec', 'spec', or 'spec_set' in mock.patch/mock.patch.object calls # [H904] Delay string interpolations at logging calls. enable-extensions=H106,H203,H204,H205,H210,H904 # TODO(rpittau) remove the ignores below when we're ready to apply H210 to