Skip to content

Instantly share code, notes, and snippets.

@EarthmanT
Created April 20, 2020 09:08
Show Gist options
  • Save EarthmanT/bedbfa6b3923b68d40e8d8360949da42 to your computer and use it in GitHub Desktop.
Save EarthmanT/bedbfa6b3923b68d40e8d8360949da42 to your computer and use it in GitHub Desktop.
> futurize -wn --stage1 my_code
RefactoringTool: Skipping optional fixer: idioms
RefactoringTool: Skipping optional fixer: ws_comma
RefactoringTool: No changes to my_code/common.py
RefactoringTool: No changes to my_code/utils.py
RefactoringTool: No changes to my_code/module/functions.py
RefactoringTool: Refactored my_code/tests/test_functions.py
--- my_code/tests/test_functions.py (original)
+++ my_code/tests/test_functions.py (refactored)
@@ -1,3 +1,5 @@
+from __future__ import print_function
+from __future__ import absolute_import
@@ -24,7 +26,7 @@
from cloudify.exceptions import (NonRecoverableError,
CommandExecutionException)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment