Skip to content

Commit bad1ec1

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 15445a0 commit bad1ec1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pytorch_lightning/plugins/environments/cluster_environment.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414
from abc import ABC, abstractmethod
15-
from typing import Type, Any
15+
from typing import Any, Type
1616

1717
from pytorch_lightning.utilities import rank_zero_deprecation
1818

@@ -22,7 +22,7 @@ class ClusterEnvironment(ABC):
2222

2323
def __new__(cls, *args: Any, **kwargs: Any) -> "ClusterEnvironment":
2424
_check_for_deprecated_methods(cls)
25-
return super(ClusterEnvironment, cls).__new__(cls, *args, **kwargs)
25+
return super().__new__(cls, *args, **kwargs)
2626

2727
@property
2828
@abstractmethod

0 commit comments

Comments
 (0)