mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
add some fun to the codebase
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
# |~~\' |~~
|
||||
# |__/||~~\|--|/~\\ /
|
||||
# | ||__/|__| |\/
|
||||
# |
|
||||
|
||||
from .cli import cli
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
@@ -1 +1,6 @@
|
||||
# ___ ( ) ___ ___ __
|
||||
# // ) ) / / // ) ) //___) ) // ) ) || / /
|
||||
# //___/ / / / //___/ / // // / / || / /
|
||||
# // / / // ((____ // / / ||/ /
|
||||
|
||||
__version__ = '3.2.14'
|
||||
|
||||
+12
-1
@@ -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! ✨🍰✨')
|
||||
|
||||
Reference in New Issue
Block a user