Skip to content

Commit 89bc37c

Browse files
committed
fix: disable false positive pylint warnings in test files
1 parent aba6777 commit 89bc37c

4 files changed

Lines changed: 7 additions & 0 deletions

File tree

qualtran/surface_code/flasq/naive_grid_qubit_manager_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
# pylint: disable=unbalanced-tuple-unpacking
16+
1517
from typing import List, Set # CHANGED: Added for backward-compatible types
1618

1719
import cirq

qualtran/surface_code/flasq/optimization_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
# pylint: disable=too-many-function-args,missing-kwoa
16+
1517
from typing import Any, Dict, Tuple, Union
1618
from unittest.mock import MagicMock, patch
1719

qualtran/surface_code/flasq/symbols_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# limitations under the License.
1414

1515
# symbols_test.py
16+
# pylint: disable=assignment-from-no-return
1617
# Phase 1 characterization tests for qualtran.surface_code.flasq/symbols.py
1718
#
1819
# Verifies that the symbolic constants (especially MIXED_FALLBACK_T_COUNT)

qualtran/surface_code/flasq/utils_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
import sympy
1616
from frozendict import frozendict # type: ignore[import-untyped]
1717

18+
# pylint: disable=no-value-for-parameter
19+
1820
from qualtran.surface_code.flasq.utils import substitute_until_fixed_point
1921

2022

0 commit comments

Comments
 (0)