Skip to content

Instantly share code, notes, and snippets.

@mperlet
Created January 4, 2019 11:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mperlet/51aa77a6a9571f79cb5cc835149a7fe9 to your computer and use it in GitHub Desktop.
Save mperlet/51aa77a6a9571f79cb5cc835149a7fe9 to your computer and use it in GitHub Desktop.
Check python files in pwd
function pycheck() {
echo
echo
echo
find . -name "*.py" | xargs mypy --ignore-missing-imports
echo
echo
echo
find . -name "*.py" | xargs misspell
echo
echo
echo
find . -name "*.py" | xargs pylint --disable=F0401 -f parseable | grep .py
echo
echo
echo
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment