From 4340bf34faca7eed8076ba4c388fbe15355f2183 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Thu, 4 Mar 2021 17:02:31 -0500 Subject: various python neatness cleanups All changes were created by running "pyupgrade --py3-only --keep-percent-format" and committing the results. I have not touched string formatting for now. - use set literals - simplify .format() parameter naming - remove __future__ - remove default "r" mode for open() - use OSError rather than compatibility aliases - remove stray parentheses in function(generator) scopes --- skip_ci.py | 1 - 1 file changed, 1 deletion(-) (limited to 'skip_ci.py') diff --git a/skip_ci.py b/skip_ci.py index 5e0a7aa72..4ee44663f 100755 --- a/skip_ci.py +++ b/skip_ci.py @@ -13,7 +13,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -from __future__ import print_function import argparse import os -- cgit v1.2.3