75
edits
(→Getting Involved: update linter fix instructions) |
(→Remove more of the "excluded" paths from the py2 and py3 linters: add note about xxx_todo_changeme) |
||
| 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. | * 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: | ||
edits