[libcamera-devel] ipa: meson: Fix identation
diff mbox series

Message ID 20220919170000.12878-1-laurent.pinchart@ideasonboard.com
State Accepted
Commit 685da13d02c01ed0a2bb7080f95b7ac56e80f221
Headers show
Series
  • [libcamera-devel] ipa: meson: Fix identation
Related show

Commit Message

Laurent Pinchart Sept. 19, 2022, 5 p.m. UTC
meson.build files are indented with 4 spaces, not 2.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 src/ipa/meson.build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


base-commit: 74ab3f778c848b20cbf8fe299170756ff6ebab1a

Comments

Umang Jain Sept. 19, 2022, 5:01 p.m. UTC | #1
Hi Laurent,

Thank you for the fix.

On 9/19/22 10:30 PM, Laurent Pinchart wrote:
> meson.build files are indented with 4 spaces, not 2.

ops :-S

>
> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>

> ---
>   src/ipa/meson.build | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/ipa/meson.build b/src/ipa/meson.build
> index e972bbe896b0..76ad5b445601 100644
> --- a/src/ipa/meson.build
> +++ b/src/ipa/meson.build
> @@ -31,8 +31,8 @@ ipa_modules = get_option('ipas')
>   # Tests require the vimc IPA, similar to vimc pipline-handler for their
>   # execution. Include it automatically when tests are enabled.
>   if get_option('test') and 'vimc' not in ipa_modules
> -  message('Enabling vimc IPA to support tests')
> -  ipa_modules += ['vimc']
> +    message('Enabling vimc IPA to support tests')
> +    ipa_modules += ['vimc']
>   endif
>   
>   enabled_ipa_modules = []
>
> base-commit: 74ab3f778c848b20cbf8fe299170756ff6ebab1a
Kieran Bingham Sept. 19, 2022, 10:34 p.m. UTC | #2
Quoting Laurent Pinchart via libcamera-devel (2022-09-19 18:00:00)
> meson.build files are indented with 4 spaces, not 2.
> 

Hrm ... I thought we had a checkstyle rule to catch this ?


Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>

> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> ---
>  src/ipa/meson.build | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/ipa/meson.build b/src/ipa/meson.build
> index e972bbe896b0..76ad5b445601 100644
> --- a/src/ipa/meson.build
> +++ b/src/ipa/meson.build
> @@ -31,8 +31,8 @@ ipa_modules = get_option('ipas')
>  # Tests require the vimc IPA, similar to vimc pipline-handler for their
>  # execution. Include it automatically when tests are enabled.
>  if get_option('test') and 'vimc' not in ipa_modules
> -  message('Enabling vimc IPA to support tests')
> -  ipa_modules += ['vimc']
> +    message('Enabling vimc IPA to support tests')
> +    ipa_modules += ['vimc']
>  endif
>  
>  enabled_ipa_modules = []
> 
> base-commit: 74ab3f778c848b20cbf8fe299170756ff6ebab1a
> -- 
> Regards,
> 
> Laurent Pinchart
>
Laurent Pinchart Sept. 19, 2022, 10:40 p.m. UTC | #3
On Mon, Sep 19, 2022 at 11:34:25PM +0100, Kieran Bingham wrote:
> Quoting Laurent Pinchart via libcamera-devel (2022-09-19 18:00:00)
> > meson.build files are indented with 4 spaces, not 2.
> 
> Hrm ... I thought we had a checkstyle rule to catch this ?

We only check that spaces are used for indentation, not tabs. Patches
are welcome :-) It would not be trivial though.

> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
> 
> > Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> > ---
> >  src/ipa/meson.build | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/src/ipa/meson.build b/src/ipa/meson.build
> > index e972bbe896b0..76ad5b445601 100644
> > --- a/src/ipa/meson.build
> > +++ b/src/ipa/meson.build
> > @@ -31,8 +31,8 @@ ipa_modules = get_option('ipas')
> >  # Tests require the vimc IPA, similar to vimc pipline-handler for their
> >  # execution. Include it automatically when tests are enabled.
> >  if get_option('test') and 'vimc' not in ipa_modules
> > -  message('Enabling vimc IPA to support tests')
> > -  ipa_modules += ['vimc']
> > +    message('Enabling vimc IPA to support tests')
> > +    ipa_modules += ['vimc']
> >  endif
> >  
> >  enabled_ipa_modules = []
> > 
> > base-commit: 74ab3f778c848b20cbf8fe299170756ff6ebab1a

Patch
diff mbox series

diff --git a/src/ipa/meson.build b/src/ipa/meson.build
index e972bbe896b0..76ad5b445601 100644
--- a/src/ipa/meson.build
+++ b/src/ipa/meson.build
@@ -31,8 +31,8 @@  ipa_modules = get_option('ipas')
 # Tests require the vimc IPA, similar to vimc pipline-handler for their
 # execution. Include it automatically when tests are enabled.
 if get_option('test') and 'vimc' not in ipa_modules
-  message('Enabling vimc IPA to support tests')
-  ipa_modules += ['vimc']
+    message('Enabling vimc IPA to support tests')
+    ipa_modules += ['vimc']
 endif
 
 enabled_ipa_modules = []