On Wed, Jun 03, 2015 at 06:11:26PM +0200, 'Klaus Aehlig' via ganeti-devel wrote:
It can be good style to have expressions of the form

 or [ ....
    , ....
    ]

as this is quite readable and can easily be extended,
should more conditions come in place. So, as we
ignore "Use &&", let's also ingore "Use ||".

Signed-off-by: Klaus Aehlig <[email protected]>
---
Makefile.am | 1 +
1 file changed, 1 insertion(+)

diff --git a/Makefile.am b/Makefile.am
index fc86bf6..7ceaf56 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2720,6 +2720,7 @@ hlint: $(HS_BUILT_SRCS) src/lint-hints.hs
          --ignore "Use first" \
          --ignore "Use &&&" \
          --ignore "Use &&" \
+         --ignore "Use ||" \
          --ignore "Use void" \
          --ignore "Reduce duplication" \
          --ignore "Use import/export shortcut" \
--
2.2.0.rc0.207.ga3a616c


LGTM

Reply via email to