qmk-firmware/lib/python/qmk/tests
Erovia c89c084146
CLI: More MSYS2 fixes (#8577)
* CLI: More MSYS2 fixes

Now I can fully setup and work with qmk_firmware on an MSYS2
installation without any errors or exceptions.

* Apply suggestions from code review

Co-Authored-By: skullydazed <skullydazed@users.noreply.github.com>

* Some improvements

* Remove unnecessary import

* Remove slow, unused code

Getting the version from GIT was slow on both Windows and Docker.
Until we find a better, faster way, this is removed.

* remove unused imports

* Implement @vomindoraan's suggestions

* refine how we pick the shell to use

* Apply @fauxpark's suggestions

fauxpark investigated the topic of shells in MSYS2 a bit and we come to the conclusion that the safest bet was to just use the user's shell.
Anything more just opens up more edge-cases than it solves.

Co-Authored-By: Ryan <fauxpark@gmail.com>

* Use `platform_id` in doctor

This will bring it in line with the new code.

Co-authored-by: skullydazed <skullydazed@users.noreply.github.com>
Co-authored-by: skullY <skullydazed@gmail.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
2020-03-29 14:29:44 +02:00
..
__init__.py Setup a python test framework 2019-09-07 07:58:41 -07:00
attrdict.py Small CLI cleanups 2019-11-12 18:41:38 -08:00
kle.txt Add cli convert subcommand, from raw KLE to JSON (#6898) 2019-11-12 20:55:41 -08:00
onekey_export.json Setup a python test framework 2019-09-07 07:58:41 -07:00
test_cli_commands.py CLI: More MSYS2 fixes (#8577) 2020-03-29 14:29:44 +02:00
test_qmk_errors.py Add pep8-naming to our python linting 2019-12-01 13:40:14 -08:00
test_qmk_keymap.py run yapf on the code 2019-09-07 07:58:41 -07:00
test_qmk_path.py Use pathlib everywhere we can (#7872) 2020-02-17 11:42:11 -08:00