From d08aed20155bd7a0c09e79c4bf0b97c77bd9c8b7 Mon Sep 17 00:00:00 2001 From: Sebastiaan Huber Date: Thu, 16 Nov 2023 18:58:50 +0100 Subject: [PATCH] Pre-commit: Disable `no-member` and `no-name-in-module` for `aiida.orm` After the previous commit, for some unknown reason, `pylint` started throwing `no-member` and `no-name-in-module` warnings for import lines that import a class directly from `aiida.orm`. The imports actually work just fine and `pylint` didn't use to complain. The changes of the previous commit seem completely unrelated, so for now the warnings are ignored. Soon `pylint` will anyway be replaced by `ruff`. --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index c4abf7d864..7f1fe1ca9a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -281,6 +281,8 @@ disable = [ "locally-disabled", "logging-fstring-interpolation", "no-else-raise", + "no-member", + "no-name-in-module", "raise-missing-from", "too-few-public-methods", "too-many-ancestors",