mirror of https://github.com/kivy/kivy.git
88dee323b7
* FIX: Disable `KIVY_NO_ARGS` depending on its value This fix enables the environment value `KIVY_NO_ARGS` to be present but still not disabling kivy cli parsing. Before this, kivy only checked for `KIVY_NO_ARGS` environment variable to be existent, wihout checking its value. Setting it to a "falsy" value (eg 0, "false", etc) would still disable cli arg parsing, which is could be misleading. With this fix, only setting it to one of ('true', '1', 'yes') actually disables it. * TEST: passing unit tests Signed-off-by: Pablo Woolvett <pablowoolvett@gmail.com> * implemented suggestions * updated patchenv func * added `KIVY_ENVS_TO_EXCLUDE = ('KIVY_UNITTEST', 'KIVY_PACKAGING')` because `__init__.py` treats them equal. * removed remanent lower * FIX: web edit typos Signed-off-by: Pablo Woolvett <pablowoolvett@gmail.com> * PEP8 Signed-off-by: Pablo Woolvett <pablowoolvett@gmail.com> * FMT: auto (black) + unused imports Signed-off-by: Pablo Woolvett <pablowoolvett@gmail.com> * PEP8 Signed-off-by: Pablo Woolvett <pablowoolvett@gmail.com> * FIX: nonzero exit on subprocess import Signed-off-by: Pablo Woolvett <pablowoolvett@gmail.com> * Update kivy/tests/test_environ_cli.py Co-authored-by: matham <moiein2000@gmail.com> * Update kivy/tests/test_environ_cli.py Co-authored-by: matham <moiein2000@gmail.com> Co-authored-by: matham <moiein2000@gmail.com> |
||
---|---|---|
.. | ||
.static | ||
.templates | ||
examples | ||
gettingstarted | ||
guide | ||
images | ||
installation | ||
sphinxext | ||
tutorials | ||
changelog.rst | ||
conf.py | ||
contact.rst | ||
contents.rst.inc | ||
contribute-unittest.rst | ||
contribute.rst | ||
faq.rst | ||
gsoc.rst | ||
gsoc2014.rst | ||
gsoc2015.rst | ||
gsoc2016.rst | ||
guide-index.rst | ||
index.rst | ||
kivy-logo.png | ||
kivystyle.sty | ||
logo.png | ||
philosophy.rst | ||
tutorials-index.rst | ||
user-guide.rst |