diff --git a/polkadot/cli/src/cli.rs b/polkadot/cli/src/cli.rs
index 3b3600dc38f53657967eb01f953efe43f5bb450e..ad7ba14d284e58064a227690ff312d8d29260fe0 100644
--- a/polkadot/cli/src/cli.rs
+++ b/polkadot/cli/src/cli.rs
@@ -25,7 +25,9 @@ use std::path::PathBuf;
 #[derive(Debug, Parser)]
 pub enum Subcommand {
 	/// Build a chain specification.
-	#[deprecated(note = "build-spec will be removed after 1/04/2026. Use export-chain-spec instead")]
+	#[deprecated(
+		note = "build-spec will be removed after 1/04/2026. Use export-chain-spec instead"
+	)]
 	BuildSpec(sc_cli::BuildSpecCmd),
 
 	/// Export the chain specification.
diff --git a/substrate/bin/node/cli/src/cli.rs b/substrate/bin/node/cli/src/cli.rs
index 098b3d5ccccac25e29eb38702471f5fd5d023a61..dc253c5e4e7ef223de59179e935694f01edb4ff2 100644
--- a/substrate/bin/node/cli/src/cli.rs
+++ b/substrate/bin/node/cli/src/cli.rs
@@ -78,7 +78,9 @@ pub enum Subcommand {
 	Sign(sc_cli::SignCmd),
 
 	/// Build a chain specification.
-	#[deprecated(note = "build-spec will be removed after 1/04/2026. Use export-chain-spec instead")]
+	#[deprecated(
+		note = "build-spec will be removed after 1/04/2026. Use export-chain-spec instead"
+	)]
 	BuildSpec(sc_cli::BuildSpecCmd),
 
 	/// Export the chain specification.
diff --git a/substrate/client/cli/src/commands/export_chain_spec_cmd.rs b/substrate/client/cli/src/commands/export_chain_spec_cmd.rs
index 5537c3f07910f3982056aa5bd6ebd68b75ca0dea..ae92fdbf8742a16737e5a2daab751c61ad342372 100644
--- a/substrate/client/cli/src/commands/export_chain_spec_cmd.rs
+++ b/substrate/client/cli/src/commands/export_chain_spec_cmd.rs
@@ -16,15 +16,15 @@
 // You should have received a copy of the GNU General Public License
 // along with this program. If not, see <https://www.gnu.org/licenses/>.
 
+use crate::{error::Result, BuildSpecCmd, CliConfiguration, NodeKeyParams, SharedParams};
 use clap::Parser;
 use sc_service::{chain_ops, ChainSpec};
 use std::{
 	fs,
 	io::{self, Write},
 	path::PathBuf,
+	thread::sleep,
 };
-use std::thread::sleep;
-use crate::{error::Result, BuildSpecCmd, CliConfiguration, NodeKeyParams, SharedParams};
 
 /// Export a chain-spec to a JSON file in plain or in raw storage format.
 ///
@@ -69,7 +69,6 @@ impl ExportChainSpecCmd {
 	}
 }
 impl CliConfiguration for ExportChainSpecCmd {
-
 	// If ExportChainSpecCmd doesn’t have shared_params, you must provide some implementation.
 	fn shared_params(&self) -> &SharedParams {
 		unimplemented!("ExportChainSpecCmd does not implement shared_params")
diff --git a/templates/minimal/node/src/cli.rs b/templates/minimal/node/src/cli.rs
index c07e74acc04dc4ac319034142142d73f259ed25e..5f5fb42914d901fdc3d022b6721e990ab361d957 100644
--- a/templates/minimal/node/src/cli.rs
+++ b/templates/minimal/node/src/cli.rs
@@ -59,7 +59,9 @@ pub enum Subcommand {
 	Key(sc_cli::KeySubcommand),
 
 	/// Build a chain specification.
-	#[deprecated(note = "build-spec will be removed after 1/04/2026. Use export-chain-spec instead")]
+	#[deprecated(
+		note = "build-spec will be removed after 1/04/2026. Use export-chain-spec instead"
+	)]
 	BuildSpec(sc_cli::BuildSpecCmd),
 
 	/// Export the chain specification.
diff --git a/templates/parachain/node/src/cli.rs b/templates/parachain/node/src/cli.rs
index d0ce913641433254ba8b19fd9b3c6dcef2010c3f..7c8a8d652698e167ab41093161cfed6ca15f4100 100644
--- a/templates/parachain/node/src/cli.rs
+++ b/templates/parachain/node/src/cli.rs
@@ -6,7 +6,9 @@ use std::path::PathBuf;
 #[derive(Debug, clap::Subcommand)]
 pub enum Subcommand {
 	/// Build a chain specification.
-	#[deprecated(note = "build-spec will be removed after 1/04/2026. Use export-chain-spec instead")]
+	#[deprecated(
+		note = "build-spec will be removed after 1/04/2026. Use export-chain-spec instead"
+	)]
 	BuildSpec(sc_cli::BuildSpecCmd),
 
 	/// Export the chain specification.
diff --git a/templates/solochain/node/src/cli.rs b/templates/solochain/node/src/cli.rs
index d7edc2850fe353da8b007ab5ccfa6e5622d4f95e..4df320ab187c02ca676b40a20df5d0fe11f4cb98 100644
--- a/templates/solochain/node/src/cli.rs
+++ b/templates/solochain/node/src/cli.rs
@@ -15,7 +15,9 @@ pub enum Subcommand {
 	Key(sc_cli::KeySubcommand),
 
 	/// Build a chain specification.
-	#[deprecated(note = "build-spec will be removed after 1/04/2026. Use export-chain-spec instead")]
+	#[deprecated(
+		note = "build-spec will be removed after 1/04/2026. Use export-chain-spec instead"
+	)]
 	BuildSpec(sc_cli::BuildSpecCmd),
 
 	/// Export the chain specification.