add some fun to the codebase

This commit is contained in:
2017-01-31 17:26:29 -05:00
parent 81d4349500
commit 59dbdb6509
3 changed files with 22 additions and 1 deletions
+5
View File
@@ -1,3 +1,8 @@
# |~~\' |~~
# |__/||~~\|--|/~\\ /
# | ||__/|__| |\/
# |
from .cli import cli
if __name__ == '__main__':
+5
View File
@@ -1 +1,6 @@
# ___ ( ) ___ ___ __
# // ) ) / / // ) ) //___) ) // ) ) || / /
# //___/ / / / //___/ / // // / / || / /
# // / / // ((____ // / / ||/ /
__version__ = '3.2.14'
+12 -1
View File
@@ -33,6 +33,12 @@ if sys.version_info < (3, 3):
else:
from shutil import get_terminal_size
# ___ _ ___
# | . \<_> ___ | __>._ _ _ _
# | _/| || . \| _> | ' || | |
# |_| |_|| _/|___>|_|_||__/
# |_|
# Enable shell completion.
click_completion.init()
@@ -404,7 +410,7 @@ def do_lock():
# Clear generated lockfile before updating.
lockfile['default'] = {}
# Add default dependencies to lockfile.
for dep in results:
if dep:
@@ -633,6 +639,11 @@ def format_pip_output(out, r=None):
return out
# |\/| /\ |) [- ]3 `/
# . . .-. . . . . .-. .-. . . .-. .-. .-. .-. .-.
# |< |- |\| |\| |- | |-| |( |- | | /
# ' ` `-' ' ` ' ` `-' ' ' ` ' ' `-' `-' ' `-'
def easter_egg(package_name):
if package_name in ['requests', 'maya', 'crayons', 'delegator.py' 'records', 'tablib']:
click.echo('P.S. You have excellent taste! ✨🍰✨')