stackit icon indicating copy to clipboard operation
stackit copied to clipboard

Click warns `unicode_literals` on every run

Open weakish opened this issue 8 years ago • 2 comments

/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

weakish avatar Jul 30 '16 00:07 weakish

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

Best, Lukas

lukasschwab avatar Jul 30 '16 00:07 lukasschwab

@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!

lukasschwab avatar Jul 30 '16 00:07 lukasschwab