Skip to content
Snippets Groups Projects
Commit 5b16f046 authored by Julian Rother's avatar Julian Rother
Browse files

Update pylint to v2.16.2 for python3.11 compatibility

parent a3012289
Branches
No related tags found
No related merge requests found
...@@ -6,7 +6,7 @@ variables: ...@@ -6,7 +6,7 @@ variables:
PYTHONPATH: deps/ldapalchemy PYTHONPATH: deps/ldapalchemy
APT_API_URL: https://packages.cccv.de APT_API_URL: https://packages.cccv.de
APT_REPO: uffd APT_REPO: uffd
PYLINT_PIN: pylint~=2.10.0 PYLINT_PIN: pylint~=2.16.2
before_script: before_script:
- python3 -V - python3 -V
......
...@@ -64,13 +64,14 @@ disable=unused-argument, # Too many false-positives, we're implem ...@@ -64,13 +64,14 @@ disable=unused-argument, # Too many false-positives, we're implem
too-few-public-methods, # Too many false-positives too-few-public-methods, # Too many false-positives
no-else-return, # Personal stylistic preference no-else-return, # Personal stylistic preference
attribute-defined-outside-init, # False-positives with socketserver attribute-defined-outside-init, # False-positives with socketserver
no-self-use, # Too many false-positives superfluous-parens, # The extra parens we have aid readability
missing-module-docstring, # Temporarily disabled missing-module-docstring, # Temporarily disabled
missing-class-docstring, # Temporarily disabled missing-class-docstring, # Temporarily disabled
missing-function-docstring, # Temporarily disabled missing-function-docstring, # Temporarily disabled
empty-docstring, # Temporarily disabled empty-docstring, # Temporarily disabled
consider-using-f-string, # Temporarily disabled consider-using-f-string, # Temporarily disabled
line-too-long, # Temporarily disabled line-too-long, # Temporarily disabled
broad-exception-raised, # Temporarily disabled
# Enable the message, report, category or checker with the given id(s). You can # 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 # either give multiple identifier separated by comma (,) or put this option
...@@ -385,13 +386,6 @@ max-line-length=160 ...@@ -385,13 +386,6 @@ max-line-length=160
# Maximum number of lines in a module. # Maximum number of lines in a module.
max-module-lines=1000 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 # Allow the body of a class to be on the same line as the declaration if body
# contains single statement. # contains single statement.
single-line-class-stmt=no single-line-class-stmt=no
...@@ -512,5 +506,5 @@ min-public-methods=2 ...@@ -512,5 +506,5 @@ min-public-methods=2
# Exceptions that will emit a warning when being caught. Defaults to # Exceptions that will emit a warning when being caught. Defaults to
# "BaseException, Exception". # "BaseException, Exception".
overgeneral-exceptions=BaseException, overgeneral-exceptions=builtins.BaseException,
Exception builtins.Exception
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment