From e97c4f491edb8f6d7added4ff06a8a9fe668a6d7 Mon Sep 17 00:00:00 2001
From: Mohammad Torkashvand <mohammad.torkashvand@geant.org>
Date: Mon, 18 Mar 2024 15:43:00 +0100
Subject: [PATCH] fix vale

---
 docs/vale/styles/config/vocabularies/geant-jargon/accept.txt | 1 +
 gso/db/models.py                                             | 2 +-
 gso/workflows/iptrunk/create_iptrunk.py                      | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/docs/vale/styles/config/vocabularies/geant-jargon/accept.txt b/docs/vale/styles/config/vocabularies/geant-jargon/accept.txt
index 9172c42e..2b2d2a4f 100644
--- a/docs/vale/styles/config/vocabularies/geant-jargon/accept.txt
+++ b/docs/vale/styles/config/vocabularies/geant-jargon/accept.txt
@@ -6,6 +6,7 @@ WFO
 Ansible
 [Dd]eprovision
 API
+DNS
 dry_run
 Dark_fiber
 [A|a]ddress
diff --git a/gso/db/models.py b/gso/db/models.py
index 11d045ee..350aa907 100644
--- a/gso/db/models.py
+++ b/gso/db/models.py
@@ -17,7 +17,7 @@ logger = structlog.get_logger(__name__)
 
 
 class PartnerType(str, enum.Enum):
-    """Enum defining different types of partners in the GSO system."""
+    """Defining different types of partners in the GSO system."""
 
     NREN = "NREN"
     RE_PEER = "RE_PEER"
diff --git a/gso/workflows/iptrunk/create_iptrunk.py b/gso/workflows/iptrunk/create_iptrunk.py
index 88ac9f44..8018f66c 100644
--- a/gso/workflows/iptrunk/create_iptrunk.py
+++ b/gso/workflows/iptrunk/create_iptrunk.py
@@ -403,7 +403,7 @@ def check_ip_trunk_isis(
 
 @step("Register DNS records for both sides of the trunk")
 def register_dns_records(subscription: IptrunkInactive) -> State:
-    """Register DNS records for both sides of the newly created IPtrunk."""
+    """Register :term: `DNS` records for both sides of the newly created IPtrunk."""
     for index, side in enumerate(subscription.iptrunk.iptrunk_sides):
         fqdn = f"{side.iptrunk_side_ae_iface}-0.{side.iptrunk_side_node.router_fqdn}"
         if not (subscription.iptrunk.iptrunk_ipv4_network and subscription.iptrunk.iptrunk_ipv6_network):
-- 
GitLab