Created
October 11, 2018 06:54
-
-
Save setomits/599c21863c3d59f234dfb2f8c221b5b0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias unittest="python -m unittest" | |
function rmpyc | |
find . -type f -name "*.pyc" -delete | |
find . -type d -name "__pycache__" -delete | |
find . -type d -name "*.egg-info" -delete | |
end | |
function pipupgrade | |
set packages (pip list --disable-pip-version-check --format columns\ | |
--outdated | cut -d " " -f 1)[3..-1] | |
for package in $packages | |
pip install --disable-pip-version-check --upgrade $package | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment