diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 97f0597d0b27eceb376b6eb7c243c53f6e59d62f..2be6ab8239fea6db01c2d675170cf7b81ad34d5f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,7 +5,7 @@ variables: GIT_SUBMODULE_STRATEGY: normal 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 1112222e5eca1847406325a2fb6588ad31c56766..1397e2c14fe80a73772caf8fa11e43d4a2ae03ae 100644 --- a/.pylintrc +++ b/.pylintrc @@ -379,13 +379,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 @@ -506,5 +499,5 @@ min-public-methods=2 # Exceptions that will emit a warning when being caught. Defaults to # "BaseException, Exception". -overgeneral-exceptions=BaseException, - Exception +overgeneral-exceptions=builtins.BaseException, + builtins.Exception