You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qmk-fw/lib/python/qmk
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>
5 years ago
..
cli CLI: More MSYS2 fixes (#8577) 5 years ago
tests CLI: More MSYS2 fixes (#8577) 5 years ago
__init__.py QMK CLI and JSON keymap support (#6176) 6 years ago
commands.py CLI: More MSYS2 fixes (#8577) 5 years ago
constants.py Use pathlib everywhere we can (#7872) 5 years ago
converter.py Add cli convert subcommand, from raw KLE to JSON (#6898) 6 years ago
decorators.py Add decorators for determining keyboard and keymap based on current directory (#8191) 5 years ago
errors.py Small CLI cleanups 6 years ago
keymap.py Use pathlib everywhere we can (#7872) 5 years ago
makefile.py Code cleanup, use pathlib, use pytest keyboard 5 years ago
path.py Add decorators for determining keyboard and keymap based on current directory (#8191) 5 years ago
questions.py Improve the functionality of qmk.questions (#8020) 5 years ago
submodules.py Beef up how `qmk doctor` works. (#7375) 5 years ago