j-bennet / wharfee

A CLI with autocompletion and syntax highlighting for Docker commands.
BSD 3-Clause "New" or "Revised" License
657 stars 41 forks source link

Click shows warning about unicode_literals #124

Closed j-bennet closed 8 years ago

j-bennet commented 8 years ago

Warning: Click detected the use of the unicode_literals future import. This is heavily discouraged because it can introduce subtle bugs in your code. You should instead use explicit u"" literals for your unicode strings. For more information see http://click.pocoo.org/python3/ @click.command()

kevinastone commented 8 years ago

Why is this closed? I just installed wharfee and see this warning:

> wharfee 
${VIRTUALENV}/lib/python2.7/site-packages/wharfee/main.py:325: Warning: Click detected the use of the unicode_literals __future__ import.  This is heavily discouraged because it can introduce subtle bugs in your code.  You should instead use explicit u"" literals for your unicode strings.  For more information see http://click.pocoo.org/python3/
  @click.command()
Version: 0.6.8
Home: http://wharfee.com
j-bennet commented 8 years ago

Because this was fixed in master:

https://github.com/j-bennet/wharfee/commit/1dead49d1a761d4ffeb9ead681fa9fd040d5887d

I'm going to release an update in a week or two. Until then, wharfee can be installed from master:

pip install git+https://github.com/j-bennet/wharfee.git
kevinastone commented 8 years ago

:+1: