NOTE this package has been renamed from
kconfstyletokconfigstyle! This package will no longer receive updates.
kconfstyle
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. kconfstyle aims to provide a more flexible and
user-friendly alternative.
Installation
Run without installing with uv:
uvx kconfstyle [options] <kconfig_files>
Or install and run:
pip install kconfstyle
kconfstyle [options] <kconfig_files>
License
See LICENSE file for details.
Metadata
Release files for kconfstyle 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| kconfstyle-0.2.4.tar.gz | 9.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kconfstyle-0.2.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.6 kB
Release files / kconfstyle-0.2.4.tar.gz
| Download URL | kconfstyle-0.2.4.tar.gz |
|---|---|
| Size | 9.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5439964f0306d8942c15c4c1cd70452f8df9aa5a8b3f9b0e776a411f6a71f762
|
|
BLAKE2b-256 checksum How to use checksums |
57ef79ee1947a4785180c07bfabe4582a360df4af2b85f60acbdffba07b86565
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / kconfstyle-0.2.4-py3-none-any.whl
| Download URL | kconfstyle-0.2.4-py3-none-any.whl |
|---|---|
| Size | 10.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e54ff5624f6a67c6712885f8addd62cab3ab65cb8393a04f7375121c37cd8007
|
|
BLAKE2b-256 checksum How to use checksums |
f51c2db79ae36fc2e27f88372239e1c5a198accea43379b7e7e7e72792784bdc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|