Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
1ucian0 committed Apr 23, 2024
1 parent 038bc3c commit 0128ea6
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions qiskit/providers/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ class Provider:

@deprecate_func(
since=1.1,
additional_msg="The abstract Provider and ProviderV1 classes are deprecated and will"
" be removed in 2.0. You can just remove it as the parent class and a `get_backend` method that returns the backends from `self.backend`.",
additional_msg="The abstract Provider and ProviderV1 classes are deprecated and will be "
"removed in 2.0. You can just remove it as the parent class and a `get_backend` "
"method that returns the backends from `self.backend`.",
)
def __init__(self):
pass
Expand All @@ -45,8 +46,9 @@ class ProviderV1(Provider, ABC):

@deprecate_func(
since=1.1,
additional_msg="The abstract Provider and ProviderV1 classes are deprecated and will"
" be removed in 2.0. You can just remove it as the parent class and a `get_backend` method that returns the backends from `self.backend`.",
additional_msg="The abstract Provider and ProviderV1 classes are deprecated and will be "
"removed in 2.0. You can just remove it as the parent class and a `get_backend` "
"method that returns the backends from `self.backend`.",
)
def get_backend(self, name=None, **kwargs):
"""Return a single backend matching the specified filtering.
Expand Down

0 comments on commit 0128ea6

Please sign in to comment.