From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [45.144.208.40]) by lore.proxmox.com (Postfix) with ESMTPS id 0FB2D1FF0AF for ; Thu, 08 Oct 2026 15:52:31 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id D0AB5214D8; Thu, 08 Oct 2026 15:52:28 +0200 (CEST) From: Dominik Csapak To: pve-devel@lists.proxmox.com Subject: [PATCH common 1/3] json schema: reorder imports to our style guide Date: Thu, 8 Oct 2026 15:48:11 +0200 Message-ID: <20261008135224.3323985-2-d.csapak@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261008135224.3323985-1-d.csapak@proxmox.com> References: <20261008135224.3323985-1-d.csapak@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.376 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: THDBTJW3DD2JEGTJYWFBXFIUW4WQUBMI X-Message-ID-Hash: THDBTJW3DD2JEGTJYWFBXFIUW4WQUBMI X-MailFrom: d.csapak@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: external and PVE modules separately, sorted alphabetically. While at it, drop the unused Data::Dumper import. Signed-off-by: Dominik Csapak --- src/PVE/JSONSchema.pm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/PVE/JSONSchema.pm b/src/PVE/JSONSchema.pm index 34f2949..db2c167 100644 --- a/src/PVE/JSONSchema.pm +++ b/src/PVE/JSONSchema.pm @@ -4,17 +4,17 @@ use strict; use warnings; use feature 'signatures'; -use Storable; # for dclone -use Getopt::Long; +use Devel::Cycle -quiet; # todo: remove? use Encode::Locale; use Encode; -use Devel::Cycle -quiet; # todo: remove? -use PVE::ParseUtils qw(split_list $IPV6RE $IPV4RE); -use PVE::Exception qw(raise); +use Getopt::Long; use HTTP::Status qw(:constants); use JSON; use Net::IP qw(:PROC); -use Data::Dumper; +use Storable; # for dclone + +use PVE::Exception qw(raise); +use PVE::ParseUtils qw(split_list $IPV6RE $IPV4RE); use base 'Exporter'; -- 2.47.3