Firefox/Python 3 Migration: Difference between revisions

Jump to navigation Jump to search
(→‎Getting Involved: update linter fix instructions)
Line 44: Line 44:
* To run through futurize
* To run through futurize
  cat tofix.txt | cut -f1 -d: | sort -u | xargs futurize -1 -w
  cat tofix.txt | cut -f1 -d: | sort -u | xargs futurize -1 -w
* Visually inspect the patch, especially around `except:` clauses.  Look for  
* Visually inspect the patch, especially around `except:` clauses.  Watch out for "xxx_todo_changeme" in the patch.  These are places where futurize couldn't port the code and you need to fix it manually.
 
When your patch is ready file:
When your patch is ready file:


75

edits

Navigation menu