Logo
Explore Repositories Help
Sign In
melissa/zsa_qmk_firmware
1
0
Fork 0
You've already forked zsa_qmk_firmware
mirror of https://github.com/zsa/qmk_firmware.git synced 2026-01-14 17:38:01 +00:00
Code Issues Actions Packages Projects Releases Wiki Activity
Files
b46064a891332db07643f73018910c031a63aa50
zsa_qmk_firmware/lib/python/qmk/errors.py

13 lines
321 B
Python
Raw Normal View History

QMK CLI and JSON keymap support (#6176) * Script to generate keymap.c from JSON file. * Support for keymap.json * Add a warning about the keymap.c getting overwritten. * Fix keymap generating * Install the python deps * Flesh out more of the python environment * Remove defunct json2keymap * Style everything with yapf * Polish up python support * Hide json keymap.c into the .build dir * Polish up qmk-compile-json * Make milc work with positional arguments * Fix a couple small things * Fix some errors and make the CLI more understandable * Make the qmk wrapper more robust * Add basic QMK Doctor * Clean up docstrings and flesh them out as needed * remove unused compile_firmware() function
2019-07-15 12:14:27 -07:00
class NoSuchKeyboardError(Exception):
"""Raised when we can't find a keyboard/keymap directory.
"""
def __init__(self, message):
self.message = message
CLI/c2json: Print 'cpp' error when executed in verbose mode (#12869) Co-authored-by: Ryan <fauxpark@gmail.com>
2021-05-27 17:42:38 +01:00
class CppError(Exception):
"""Raised when 'cpp' cannot process a file.
"""
def __init__(self, message):
self.message = message
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.7 Page: 1899ms Template: 86ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API