diff --git a/.pylintrc b/.pylintrc index 2c4c8d6..6e3b123 100644 --- a/.pylintrc +++ b/.pylintrc @@ -93,12 +93,6 @@ py-version=3.11 # Discover python modules and packages in the file system subtree. recursive=no -# Add paths to the list of the source roots. Supports globbing patterns. The -# source root is an absolute path or a path relative to the current working -# directory used to determine a package namespace for modules located under the -# source root. -source-roots= - # When enabled, pylint would attempt to guess common misconfiguration and emit # user-friendly hints instead of false-positive error messages. suggestion-mode=yes @@ -449,21 +443,16 @@ disable=raw-checker-failed, useless-suppression, deprecated-pragma, use-symbolic-message-instead, - use-implicit-booleaness-not-comparison-to-string, - use-implicit-booleaness-not-comparison-to-zero, - no-self-use, # disabled as it is too verbose fixme, # disabled as TODOs would show up as warnings protected-access, # disabled as we don't follow the public vs private # convention strictly duplicate-code, # disabled as it is too verbose - redundant-returns-doc, # for @abstractmethod, it cannot interpret "pass" # disable the "too-many/few-..." refactoring hints too-many-lines, too-many-branches, too-many-locals, too-many-nested-blocks, too-many-statements, too-many-instance-attributes, too-many-arguments, too-many-public-methods, too-few-public-methods, too-many-ancestors, unnecessary-pass, # allow for methods with just "pass", for clarity no-else-return, # relax "elif" after a clause with a return - docstring-first-line-empty, # relax docstring style import-outside-toplevel, invalid-name, # disabled as it is dumb consider-using-f-string # also dumb diff --git a/mapomatic/tests/test_transpiler_layout.py b/mapomatic/tests/test_transpiler_layout.py index 270f57f..aced1b8 100644 --- a/mapomatic/tests/test_transpiler_layout.py +++ b/mapomatic/tests/test_transpiler_layout.py @@ -11,8 +11,8 @@ # that they have been altered from the originals. """Test layouts in transpile""" -from qiskit import transpile from qiskit_ibm_runtime.fake_provider import FakeMontreal +from qiskit import transpile from qiskit.circuit.library import QuantumVolume import mapomatic as mm