summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Oram <dev@mitmaro.ca>2024-03-29 09:07:19 -0230
committerTim Oram <dev@mitmaro.ca>2024-03-29 09:18:08 -0230
commitb4dd60c1b8cc1f44e30b1c84db1e686f5c641265 (patch)
treeaee7286fa97bc8dd34ce05fc0d3cee39058f4d4a
parentb2f058479f4331f8cc2fca1b63440876154c10d2 (diff)
Fix latest linting errors
-rw-r--r--Cargo.toml31
1 files changed, 15 insertions, 16 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 30e7f12..361ed0a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -6,7 +6,7 @@ license = "GPL-3.0-or-later"
description = "Full feature terminal based sequence editor for git interactive rebase."
homepage = "https://gitrebasetool.mitmaro.ca/"
repository = "https://github.com/MitMaro/git-interactive-rebase-tool"
-keywords = [ "git", "editor", "tool", "rebase", "cli" ]
+keywords = ["git", "editor", "tool", "rebase", "cli"]
categories = ["command-line-interface", "command-line-utilities", "text-editors"]
readme = "README.md"
include = [
@@ -30,7 +30,7 @@ captur = "0.1.0"
chrono = "0.4.26"
crossbeam-channel = "0.5.8"
crossterm = "0.27.0"
-git2 = { version = "0.18.2", default-features = false, features = []}
+git2 = { version = "0.18.2", default-features = false, features = [] }
if_chain = "1.0.2"
lazy_static = "1.4.0"
num-format = "0.4.4"
@@ -84,15 +84,15 @@ assets = [
]
[lints.rust]
-future_incompatible = {level = "warn", priority = -2}
-nonstandard_style = {level = "warn", priority = -2}
-rust_2018_compatibility = {level = "warn", priority = -2}
-rust_2018_idioms = {level = "warn", priority = -2}
-rust_2021_compatibility = {level = "warn", priority = -2}
-unused = {level = "warn", priority = -2}
+future_incompatible = { level = "warn", priority = -2 }
+nonstandard_style = { level = "warn", priority = -2 }
+rust_2018_compatibility = { level = "warn", priority = -2 }
+rust_2018_idioms = { level = "warn", priority = -2 }
+rust_2021_compatibility = { level = "warn", priority = -2 }
+unused = { level = "warn", priority = -2 }
-unknown_lints = {level = "warn", priority = -1}
-renamed_and_removed_lints = {level = "warn", priority = -1}
+unknown_lints = { level = "warn", priority = -1 }
+renamed_and_removed_lints = { level = "warn", priority = -1 }
absolute_paths_not_starting_with_crate = "warn"
deprecated_in_future = "warn"
@@ -127,16 +127,15 @@ unused_lifetimes = "warn"
unused_macro_rules = "warn"
unused_qualifications = "warn"
unused_results = "warn"
-unused_tuple_struct_fields = "warn"
variant_size_differences = "warn"
[lints.clippy]
-all = {level = "warn", priority = -2}
-cargo = {level = "warn", priority = -2}
-pedantic = {level = "warn", priority = -2}
-restriction = {level = "warn", priority = -2}
+all = { level = "warn", priority = -2 }
+cargo = { level = "warn", priority = -2 }
+pedantic = { level = "warn", priority = -2 }
+restriction = { level = "warn", priority = -2 }
-blanket_clippy_restriction_lints = {level = "allow", priority = 5}
+blanket_clippy_restriction_lints = { level = "allow", priority = 5 }
absolute_paths = "allow"
as_conversions = "allow"
arithmetic_side_effects = "allow"