Philipp Hörist pushed to branch master at gajim / gajim

Commits:

1 changed file:

Changes:

  • scripts/ci/pylint.sh
    ... ... @@ -5,18 +5,21 @@ set -e
    5 5
     
    
    6 6
     PYLINT=${PYLINT:-pylint}
    
    7 7
     
    
    8
    +IGNORE_ALWAYS='R0801,C0209'
    
    9
    +
    
    8 10
     IGNORE_ERRORS=C0103,C0302,C0301,C0330,C0411,C0415,E0401,E0611,E1101,E1133,E1136,R0201,R0901,R0904,R0912,R0913,R0914,R0915,R0916,R1702,R1710,W0201,W0212,W0221,W0223,W0231,W0233,W0603,W0613
    
    9 11
     
    
    10 12
     IGNORE_GTK_MODULE_ERRORS=C0103,C0301,C0330,C0415,E0401,E0611,E1101,E1133,E1136,R0201,R0904,R0915,R1710,W0201,W0212,W0233,W0221,W0613
    
    11 13
     
    
    12 14
     "$PYLINT" --version
    
    13 15
     
    
    14
    -"$PYLINT" --disable=$IGNORE_ERRORS --ignore=modules,dbus,gtk "$@"
    
    15
    -"$PYLINT" --disable=$IGNORE_GTK_MODULE_ERRORS "$@/gtk"
    
    16
    -"$PYLINT" --disable=E0401,C0415 "$@/common/modules"
    
    17
    -"$PYLINT" "$@/common/dbus"
    
    16
    +"$PYLINT" --disable="$IGNORE_ALWAYS,$IGNORE_ERRORS" --ignore=modules,dbus,gtk "$@"
    
    17
    +"$PYLINT" --disable="$IGNORE_ALWAYS,$IGNORE_GTK_MODULE_ERRORS" "$@/gtk"
    
    18
    +"$PYLINT" --disable="$IGNORE_ALWAYS,E0401,C0415" "$@/common/modules"
    
    19
    +"$PYLINT" --disable=$IGNORE_ALWAYS "$@/common/dbus"
    
    18 20
     
    
    19 21
     # C0103 invalid-name
    
    22
    +# C0209 use-f-string
    
    20 23
     # C0301 line-too-long
    
    21 24
     # C0302 too-many-lines
    
    22 25
     # C0330 bad-continuation
    
    ... ... @@ -27,6 +30,7 @@ IGNORE_GTK_MODULE_ERRORS=C0103,C0301,C0330,C0415,E0401,E0611,E1101,E1133,E1136,R
    27 30
     # E1133 not-an-iterable
    
    28 31
     # E1136 unsubscriptable-object
    
    29 32
     # R0201 no-self-use
    
    33
    +# R0801 duplicat-code
    
    30 34
     # R0901 too-many-ancestors
    
    31 35
     # R0904 too-many-public-methods
    
    32 36
     # R0913 too-many-arguments