40ee6a4 pylint: Skip use-dict-literal/use-list-literal

1 file Authored by slev 2 years ago, Committed by rcritten 2 years ago,
1 file changed. 2 lines added. 0 lines removed.
    pylint: Skip use-dict-literal/use-list-literal
    
    Pylint 2.10 introduced new checkers:
    > Emitted when using dict() to create an empty dictionary instead of the
      literal {}. The literal is faster as it avoids an additional function
      call.
    
    > Emitted when using list() to create an empty list instead of the
      literal []. The literal is faster as it avoids an additional function
      call.
    
    Too many unessential changes.
    
    Fixes: https://pagure.io/freeipa/issue/9117
    Signed-off-by: Stanislav Levin <slev@altlinux.org>
    Reviewed-By: Rob Crittenden <rcritten@redhat.com>
    
        
file modified
+2 -0