Re: [RFC v2 05/38] docs: sphinx/kernel_abi: adjust coding style
From: Jonathan Corbet
Date: Tue Feb 04 2025 - 12:19:48 EST
Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx> writes:
So I was looking at applying the obvious fixes from this series, but ...
> Make pylint and flake8 happier with this module's coding style
>
> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx>
> ---
> Documentation/sphinx/kernel_abi.py | 28 +++++++++++++---------------
> 1 file changed, 13 insertions(+), 15 deletions(-)
>
> diff --git a/Documentation/sphinx/kernel_abi.py b/Documentation/sphinx/kernel_abi.py
> index 8401562cb5d9..a1887b50a900 100644
> --- a/Documentation/sphinx/kernel_abi.py
> +++ b/Documentation/sphinx/kernel_abi.py
> @@ -32,32 +32,30 @@ u"""
>
> """
>
> -import codecs
> import os
> -import subprocess
This breaks the build, since the module does indeed need the subprocess
module.
jon