<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qmk_firmware.git/lib/python/qmk/tests, branch master</title>
<subtitle>forked from https://github.com/qmk/qmk_firmware</subtitle>
<id>https://git.tsegers.com/qmk_firmware.git/atom?h=master</id>
<link rel='self' href='https://git.tsegers.com/qmk_firmware.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/qmk_firmware.git/'/>
<updated>2020-10-07T00:10:19Z</updated>
<entry>
<title>[CLI] Add c2json (#8817)</title>
<updated>2020-10-07T00:10:19Z</updated>
<author>
<name>Erovia</name>
<email>Erovia@users.noreply.github.com</email>
</author>
<published>2020-10-07T00:10:19Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/qmk_firmware.git/commit/?id=058737f116b53116726f32175205b46e22396f86'/>
<id>urn:sha1:058737f116b53116726f32175205b46e22396f86</id>
<content type='text'>
* Basic keymap parsing finally works

* Add 'keymap.json' creation to the qmk.keymap module

* Add tests and fix formatting

* Fix/exclude flake8 errors

* Convert keymap.c to valid keymap.json

* Fix some errors

* Add tests

* Finalize keymap.json creation, add json template

* Add docs

* Move pygments to the standard requirements

* Add support for nameless layers, fix tests

* Fix things after rebase

* Add missing 'keymap' value.

* Fix missing layer numbers from advanced keycodes

Buckwich noticed that if the advanced keycode / layer toggling key
contains a number, it goes missing.
Now we properly handle them.
Thx for noticing!

* Apply suggestions from code review

* fixup tests

Co-authored-by: Zach White &lt;skullydazed@drpepper.org&gt;
Co-authored-by: skullY &lt;skullydazed@gmail.com&gt;</content>
</entry>
<entry>
<title>CLI: update subcommands to use return instead of exit() (#10323)</title>
<updated>2020-10-06T23:46:10Z</updated>
<author>
<name>Ryan</name>
<email>fauxpark@gmail.com</email>
</author>
<published>2020-10-06T23:46:10Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/qmk_firmware.git/commit/?id=2c9ffd47391b8dec98db94bef9b2f5c14a57cf94'/>
<id>urn:sha1:2c9ffd47391b8dec98db94bef9b2f5c14a57cf94</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Parse version better in `qmk doctor` GCC version checks (#9324)</title>
<updated>2020-06-18T18:37:47Z</updated>
<author>
<name>Ryan</name>
<email>fauxpark@gmail.com</email>
</author>
<published>2020-06-18T18:37:47Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/qmk_firmware.git/commit/?id=db80209e697770cca0ba44e437efa548247b387f'/>
<id>urn:sha1:db80209e697770cca0ba44e437efa548247b387f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[CLI] Add a subcommand for getting information about a keyboard (#8666)</title>
<updated>2020-05-26T20:05:41Z</updated>
<author>
<name>Zach White</name>
<email>skullydazed@users.noreply.github.com</email>
</author>
<published>2020-05-26T20:05:41Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/qmk_firmware.git/commit/?id=751316c34465ea77e066c3052729b207f3d62e0c'/>
<id>urn:sha1:751316c34465ea77e066c3052729b207f3d62e0c</id>
<content type='text'>
You can now use `qmk info` to get information about keyboards and keymaps.

Co-authored-by: Erovia &lt;Erovia@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>CLI: fix `json2c` subcommand and add/fix tests (#9206)</title>
<updated>2020-05-26T15:43:33Z</updated>
<author>
<name>Erovia</name>
<email>Erovia@users.noreply.github.com</email>
</author>
<published>2020-05-26T15:43:33Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/qmk_firmware.git/commit/?id=6501377070ff20bd061ea85c7ae5517652b6478b'/>
<id>urn:sha1:6501377070ff20bd061ea85c7ae5517652b6478b</id>
<content type='text'>
Co-authored-by: Zach White &lt;skullydazed@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>Adding unit tests for list-keymaps command (#7711)</title>
<updated>2020-05-16T20:47:07Z</updated>
<author>
<name>codecoffeecode</name>
<email>lyharris8@gmail.com</email>
</author>
<published>2020-05-16T20:47:07Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/qmk_firmware.git/commit/?id=f125406700785333cd14c4ed74eefaa7dd26f235'/>
<id>urn:sha1:f125406700785333cd14c4ed74eefaa7dd26f235</id>
<content type='text'>
Co-Authored-By: James Young &lt;18669334+noroadsleft@users.noreply.github.com&gt;
Co-Authored-By: Erovia &lt;Erovia@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>CLI: More MSYS2 fixes (#8577)</title>
<updated>2020-03-29T12:29:44Z</updated>
<author>
<name>Erovia</name>
<email>Erovia@users.noreply.github.com</email>
</author>
<published>2020-03-29T12:29:44Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/qmk_firmware.git/commit/?id=c89c0841468ad23153a9fc9578d344845df31a88'/>
<id>urn:sha1:c89c0841468ad23153a9fc9578d344845df31a88</id>
<content type='text'>
* 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 &lt;skullydazed@users.noreply.github.com&gt;

* 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 &lt;fauxpark@gmail.com&gt;

* Use `platform_id` in doctor

This will bring it in line with the new code.

Co-authored-by: skullydazed &lt;skullydazed@users.noreply.github.com&gt;
Co-authored-by: skullY &lt;skullydazed@gmail.com&gt;
Co-authored-by: Ryan &lt;fauxpark@gmail.com&gt;</content>
</entry>
<entry>
<title>New functionality for cformat (#7893)</title>
<updated>2020-02-23T04:57:19Z</updated>
<author>
<name>Akaash Suresh</name>
<email>casa.akaash@gmail.com</email>
</author>
<published>2020-02-23T04:57:19Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/qmk_firmware.git/commit/?id=b353028ea5e0ac7b69e7fed4f224c7cb07015ec9'/>
<id>urn:sha1:b353028ea5e0ac7b69e7fed4f224c7cb07015ec9</id>
<content type='text'>
Fixing complexity

remove lambda

PR review fixes #1

Removing unneccesary string substitution

Handle -a and specified files

Complexity rewrite, use pathlib</content>
</entry>
<entry>
<title>Use pathlib everywhere we can (#7872)</title>
<updated>2020-02-17T19:42:11Z</updated>
<author>
<name>skullydazed</name>
<email>skullydazed@users.noreply.github.com</email>
</author>
<published>2020-02-17T19:42:11Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/qmk_firmware.git/commit/?id=c66930445f7d5941eb847568288046d51f853786'/>
<id>urn:sha1:c66930445f7d5941eb847568288046d51f853786</id>
<content type='text'>
* Use pathlib everywhere we can

* Update lib/python/qmk/path.py

Co-Authored-By: Erovia &lt;Erovia@users.noreply.github.com&gt;

* Update lib/python/qmk/path.py

Co-Authored-By: Erovia &lt;Erovia@users.noreply.github.com&gt;

* Improvements based on @erovia's feedback

* rework qmk compile and qmk flash to use pathlib

* style

* Remove the subcommand_name argument from find_keyboard_keymap()

Co-authored-by: Erovia &lt;Erovia@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>Code cleanup, use pathlib, use pytest keyboard</title>
<updated>2020-02-15T23:19:03Z</updated>
<author>
<name>Erovia</name>
<email>erovia@users.noreply.github.com</email>
</author>
<published>2020-01-12T11:36:41Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/qmk_firmware.git/commit/?id=3db41817e0aa72e1406e29a4fb5f82db0c2a6cf1'/>
<id>urn:sha1:3db41817e0aa72e1406e29a4fb5f82db0c2a6cf1</id>
<content type='text'>
Clean up checks and logics that are unnecessary due to MILC updates.
Use pathlib instead of os.path for readability.
Use the 'pytest' keyboard for the tests.
Add community layout for 'handwired/onekey/pytest' so we can test
community layouts.
</content>
</entry>
</feed>
