Skip to content

Commit

Permalink
test: Disable pylint warning
Browse files Browse the repository at this point in the history
It is getting confused through Pydantic, but I've not been able to locate the class to whitelist...
  • Loading branch information
alecandido committed Aug 13, 2024
1 parent d45a420 commit 9f01652
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/qibolab/platform/platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ def channels_map(self) -> dict[str, QubitId]:

def config(self, name: str) -> Config:
"""Returns configuration of given component."""
# pylint: disable=unsubscriptable-object
return self.parameters.configs[name]

def connect(self):
Expand Down

0 comments on commit 9f01652

Please sign in to comment.