lukasschwab / stackit

StackOverflow queries from the command line
MIT License
314 stars 28 forks source link

Click warns `unicode_literals` on every run #18

Open weakish opened 8 years ago

weakish commented 8 years ago
/usr/local/lib/python2.7/dist-packages/stackit/stackit_core.py:185:
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/
  @pass_config
lukasschwab commented 8 years ago

Thanks for the report! I hope to tackle this and push an updated version to pip this weekend.

Best, Lukas

lukasschwab commented 8 years ago

@weakish can you give me more information about your environment and some instructions on how to reproduce the warnings? What version of Stackit are you running ($stackit --version)? Did you install via pip/easy_install or are you running Stackit from source?

I don't get the same warnings running Stackit v.0.1.7 on Mac, installed via pip.

Thanks!