From ad1940305953e31ff471b10d2e372064de6eff8e Mon Sep 17 00:00:00 2001 From: SP Mohanty <spmohanty91@gmail.com> Date: Wed, 3 Apr 2019 05:32:12 +0200 Subject: [PATCH] Add FAQ section --- docs/FAQ.rst | 16 ++++++++++++++++ tox.ini | 6 ++---- 2 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 docs/FAQ.rst diff --git a/docs/FAQ.rst b/docs/FAQ.rst new file mode 100644 index 00000000..b32440e3 --- /dev/null +++ b/docs/FAQ.rst @@ -0,0 +1,16 @@ +======================================== +Frequently Asked Questions (FAQs) +======================================== + +- I get a runtime error with `Click` complaining about the encoding + + .. code-block:: python + + RuntimeError('Click will abort further execution because Python 3 was configured to use ASCII as encoding for ...sk_SK.UTF-8, sl_SI.UTF-8, sr_YU.UTF-8, sv_SE.UTF-8, tr_TR.UTF-8, uk_UA.UTF-8, zh_CN.UTF-8, zh_HK.UTF-8, zh_TW.UTF-8') + + This can be solved by : + + .. code-block:: bash + + export LC_ALL=en_US.utf-8 + export LANG=en_US.utf-8 diff --git a/tox.ini b/tox.ini index 167ea056..3ff33ebe 100644 --- a/tox.ini +++ b/tox.ini @@ -1,12 +1,10 @@ [tox] -envlist = py27, py34, py35, py36, flake8 +envlist = py36, py37, flake8 [travis] python = + 3.7: py37 3.6: py36 - 3.5: py35 - 3.4: py34 - 2.7: py27 [testenv:flake8] basepython = python -- GitLab