Code Formatting and Linting

Patrick Williams patrick at stwcx.xyz
Tue Dec 13 07:57:19 AEDT 2022


On Wed, Dec 07, 2022 at 04:48:18PM -0600, Patrick Williams wrote:

> After all the code in [3] is merged, we will have the following linters
> enabled (opt-out unless specified):
>     - gitlint (commit message)
>     - codespell (commit message)
>     - beautysh (bash/sh/zsh)
>     - black (Python)
>     - clang-format (opt-in via .clang-format; C/C++)
>     - eslint (JSON)
>     - flake8 (Python)
>     - isort (Python)
>     - markdownlint (Markdown)
>     - prettier (JSON/Markdown/YAML)
>     - shellcheck (bash/sh)

Everything except for markdownlint is now enabled in CI.  I'm going to
enable markdownlint in an always-passing mode shortly so that
maintainers can start to get signal on the issues and then we'll see how
soon we can enable that one as well.

-- 
Patrick Williams
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20221212/ba89328d/attachment-0001.sig>


More information about the openbmc mailing list