Skip to content

Commit

Permalink
Remove useless pylint suppressions (Qiskit/qiskit#9697)
Browse files Browse the repository at this point in the history
* Switch to pyproject.toml no config changes

* Remove trivial differences from default

* Fall back to a few additional defaults

* Remove useless pylint suppressions

* Reblacken

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
levbishop and mergify[bot] committed Mar 1, 2023
1 parent 2cb1461 commit e0d7720
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion qiskit_ibm_runtime/fake_provider/fake_backend_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
# copyright notice, and modified files need to carry a notice indicating
# that they have been altered from the originals.

# pylint: disable=no-name-in-module

"""Mock BackendV2 object without run implemented for testing backwards compat"""

Expand Down
3 changes: 1 addition & 2 deletions qiskit_ibm_runtime/fake_provider/fake_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
class FakeJob(JobV1):
"""Fake simulator job"""

_executor = futures.ThreadPoolExecutor() # pylint: disable=consider-using-with
_executor = futures.ThreadPoolExecutor()

def __init__(self, backend, job_id, fn):
super().__init__(backend, job_id)
Expand All @@ -37,7 +37,6 @@ def submit(self):
self._future = self._executor.submit(self._future_callback)

def result(self, timeout=None):
# pylint: disable=arguments-differ
return self._future.result(timeout=timeout)

def cancel(self):
Expand Down
1 change: 0 additions & 1 deletion qiskit_ibm_runtime/fake_provider/fake_mumbai_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
# copyright notice, and modified files need to carry a notice indicating
# that they have been altered from the originals.

# pylint: disable=no-name-in-module

"""Mock BackendV2 object without run implemented for testing backwards compat"""

Expand Down

0 comments on commit e0d7720

Please sign in to comment.