Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
1ucian0 committed Feb 15, 2024

Verified

This commit was signed with the committer’s verified signature.
noahhusby Noah Husby
1 parent 9b452b1 commit 46acbf6
Showing 2 changed files with 1 addition and 12 deletions.
11 changes: 0 additions & 11 deletions .pylintrc
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion mapomatic/tests/test_transpiler_layout.py
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 46acbf6

Please sign in to comment.