diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f6c4aa8541f89749b3c4b0f44b7c5df19f45fe17..8821dafca17dc85d9d68ae071fae3349fd7d26e6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,7 +4,7 @@ variables: DEBIAN_FRONTEND: noninteractive APT_API_URL: https://packages.cccv.de APT_REPO: uffd - PYLINT_PIN: pylint~=2.10.0 + PYLINT_PIN: pylint~=2.16.2 before_script: - python3 -V diff --git a/.pylintrc b/.pylintrc index 6b7a2fbe10ce553c0f013a3fb52298760a8be7be..66e82323a4e872da2445774b0707836516b01919 100644 --- a/.pylintrc +++ b/.pylintrc @@ -64,6 +64,7 @@ disable=missing-module-docstring, missing-class-docstring, missing-function-docstring, too-many-statements, + superfluous-parens, # Enable the message, report, category or checker with the given id(s). You can # either give multiple identifier separated by comma (,) or put this option @@ -382,13 +383,6 @@ max-line-length=160 # Maximum number of lines in a module. max-module-lines=1000 -# List of optional constructs for which whitespace checking is disabled. `dict- -# separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}. -# `trailing-comma` allows a space between comma and closing bracket: (a, ). -# `empty-line` allows space-only lines. -no-space-check=trailing-comma, - dict-separator - # Allow the body of a class to be on the same line as the declaration if body # contains single statement. single-line-class-stmt=no @@ -509,5 +503,5 @@ min-public-methods=2 # Exceptions that will emit a warning when being caught. Defaults to # "BaseException, Exception". -overgeneral-exceptions=BaseException, - Exception +overgeneral-exceptions=builtin.BaseException, + builtin.Exception