Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pip install flake8 pep8-naming autopep8
- # auto fix
- find . -name node_modules -prune -o -name '*.py' -exec autopep8 --in-place --aggressive --aggressive {} \;
- # these have to be fixed manually
- find . -type d -name 'node_modules' -prune -o -name '*.py' -exec flake8 --ignore=E501 {} \;
- # make sure to run
- grep -r "{global_variable}"
- grep -r "{global_function}\("
- # to fix your usage in other files in your project
Add Comment
Please, Sign In to add comment