Skip to content

Instantly share code, notes, and snippets.

@adithyabsk
Last active August 1, 2019 19:15
Show Gist options
  • Save adithyabsk/1f1f8d5e9aefad86a63bfd851e4125d2 to your computer and use it in GitHub Desktop.
Save adithyabsk/1f1f8d5e9aefad86a63bfd851e4125d2 to your computer and use it in GitHub Desktop.
Setup pre-commit
pre-commit install
pre-commit run --all-files
# seed isort known_third_party.............................................Passed
# isort....................................................................Failed
# hookid: isort
#
# Files were modified by this hook. Additional output:
#
# Fixing /Users/adithyabalaji/Coding/simplecalc/simplecalc/cli.py
#
# black....................................................................Failed
# hookid: black
#
# Files were modified by this hook. Additional output:
#
# reformatted /Users/adithyabalaji/Coding/simplecalc/simplecalc/calculator.py
# All done! ✨ 🍰 ✨
# 1 file reformatted, 6 files left unchanged.
#
# Flake8...................................................................Failed
# hookid: flake8
#
# simplecalc/calculator.py:39:80: E501 line too long (97 > 79 characters)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment