Simple formatter for Kconfig files
Project description
kconfigstyle
A simple linter for Kconfig files, with support for Zephyr and ESP-IDF coding styles.
See here for refences on Zephyr and ESP-IDF Kconfig styles:
- https://docs.zephyrproject.org/latest/contribute/style/kconfig.html
- https://docs.espressif.com/projects/esp-idf-kconfig/en/latest/kconfcheck/index.html#kconfig-format-rules
Espressif provides a tool called
kconfcheck
to check Kconfig formatting, but it is not very configurable and does not
support auto-formatting. kconfigstyle aims to provide a more flexible and
user-friendly alternative.
Installation
Run without installing with uv:
uvx kconfigstyle [options] <kconfig_files>
Or install and run:
pip install kconfigstyle
kconfigstyle [options] <kconfig_files>
License
See LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kconfigstyle-0.3.0.tar.gz.
File metadata
- Download URL: kconfigstyle-0.3.0.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"25.10","id":"questing","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66d996c7a6730b3d9dcae15617f94e3eb3f21f744c755d876c47d04be1907b6f
|
|
| MD5 |
6ea22f4556f636fc555bb8698b52bb8d
|
|
| BLAKE2b-256 |
035756f42a3c155159d5f9aa21a1f8a3129805f2a29bf3f6b6ed65600ce1b4a1
|
File details
Details for the file kconfigstyle-0.3.0-py3-none-any.whl.
File metadata
- Download URL: kconfigstyle-0.3.0-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"25.10","id":"questing","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44636c00748e7c714652ca0a3c10b304f21a2f47843e3a6565f1da4ae4f21ba9
|
|
| MD5 |
780536c72958493ec4b8fce36e0e34a8
|
|
| BLAKE2b-256 |
301fa11707c27e93c453fcdb251210e53653e1cbc65d0613d9ce5ab8b0305035
|