Skip to content

Commit

Permalink
Pre-commit: Disable no-member and no-name-in-module for aiida.orm
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
sphuber committed Nov 16, 2023
1 parent 561f93c commit 15379bb
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 @@ -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",
Expand Down

0 comments on commit 15379bb

Please sign in to comment.