Skip to content

Instantly share code, notes, and snippets.

View malted's full-sized avatar
🦧
ヾ(*ФωФ)βyё βyё☆彡

Ben malted

🦧
ヾ(*ФωФ)βyё βyё☆彡
View GitHub Profile
@malted
malted / cleanup.sh
Last active July 14, 2021 14:45
A utility script to format python files in a project and remove __pycache__ directories and their contents
find ./src/ -name "*.py" | xargs black
find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf