Skip to content

Commit

Permalink
Disable no-member check in pylint
Browse files Browse the repository at this point in the history
This is already checked by `mypy`, and `pylint` is not as smart as `mypy`
to understand types, so it suffers from some false positives (for
example after asserting that an object `isinstance` of a type, `pylint`
still complains that the object don't have the attributes of the type).

Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
  • Loading branch information
llucax committed May 14, 2024
1 parent 35c5571 commit e59417b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ disable = [
"line-too-long",
"unused-variable",
"unnecessary-lambda-assignment",
# Checked by mypy
"no-member",
]

[tool.pytest.ini_options]
Expand Down

0 comments on commit e59417b

Please sign in to comment.