From 709b125a4c7e97e25bd2c110025cf012d3aa9a64 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 04:31:37 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- anta/input_models/__init__.py | 2 +- anta/input_models/interfaces.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/anta/input_models/__init__.py b/anta/input_models/__init__.py index b7814233bf..2f674e0a49 100644 --- a/anta/input_models/__init__.py +++ b/anta/input_models/__init__.py @@ -1,4 +1,4 @@ # Copyright (c) 2023-2024 Arista Networks, Inc. # Use of this source code is governed by the Apache License 2.0 # that can be found in the LICENSE file. -"""Module related to all ANTA tests input.""" \ No newline at end of file +"""Module related to all ANTA tests input.""" diff --git a/anta/input_models/interfaces.py b/anta/input_models/interfaces.py index 70bd84f174..76a5fbca62 100644 --- a/anta/input_models/interfaces.py +++ b/anta/input_models/interfaces.py @@ -15,9 +15,9 @@ import sys if sys.version_info >= (3, 11): - from typing import Self + pass else: - from typing_extensions import Self + pass class InterfaceState(BaseModel):