diff --git a/src/bot.rs b/src/bot.rs
index cff30bd..e5e967a 100644
--- a/src/bot.rs
+++ b/src/bot.rs
@@ -13,8 +13,8 @@
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see .
-use crate::hooks::{format_hook, Hook};
use crate::Error;
+use crate::hooks::{Hook, format_hook};
use log::debug;
use tokio::{signal::ctrl_c, sync::mpsc};
diff --git a/src/hooks/forgejo.rs b/src/hooks/forgejo.rs
index 6ded91c..01e6aad 100644
--- a/src/hooks/forgejo.rs
+++ b/src/hooks/forgejo.rs
@@ -13,10 +13,10 @@
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see .
+use crate::Error;
use crate::hooks::types::{
Commit, Hook, Issue, IssueAction, IssueAttrs, Note, Push, Repository, User,
};
-use crate::Error;
pub use ::forgejo_hooks::{Hook as ForgejoHook, Issue as FjIssue, IssueAction as FjIssueAction};
diff --git a/src/hooks/gitlab.rs b/src/hooks/gitlab.rs
index d225ff0..1b9feb4 100644
--- a/src/hooks/gitlab.rs
+++ b/src/hooks/gitlab.rs
@@ -15,11 +15,11 @@
#![allow(deprecated)]
+use crate::Error;
use crate::hooks::types::{
Commit, Hook, Issue, IssueAction, IssueAttrs, MergeRequest, MergeRequestAction,
MergeRequestAttrs, Note, Push, Repository, User, Wiki, WikiAction,
};
-use crate::Error;
pub use ::gitlab::webhooks::{
CommitHookAttrs, IssueAction as GlIssueAction, IssueHook as GlIssueHook,
diff --git a/src/main.rs b/src/main.rs
index b61caa1..21ac84a 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -26,7 +26,7 @@ use crate::hooks::Hook;
use crate::web::hooks;
use camino::Utf8PathBuf;
-use clap::{command, value_parser, Arg};
+use clap::{Arg, command, value_parser};
use hyper::{server::conn::http1, service::service_fn};
use hyper_util::rt::tokio::{TokioIo, TokioTimer};
use log::error;
diff --git a/src/web.rs b/src/web.rs
index b748a08..50fbc0d 100644
--- a/src/web.rs
+++ b/src/web.rs
@@ -24,7 +24,7 @@ use std::io::Read;
use bytes::{Buf, Bytes};
use hmac::{Hmac, Mac};
use http_body_util::{BodyExt, Full};
-use hyper::{body::Incoming, header, Method, Request, Response};
+use hyper::{Method, Request, Response, body::Incoming, header};
use log::{debug, error, trace};
use sha2::Sha256;
use tokio::sync::mpsc::UnboundedSender;