From e0ef5b83820ce5d269516a3ce5c04f5fc354a9ab Mon Sep 17 00:00:00 2001 From: Bryan Weber Date: Thu, 8 Jun 2023 17:32:05 -0400 Subject: [PATCH] Apply taplo to the repository (#18998) Per the suggestion from @thejcannon, I've turned the taplo formatter onto pants itself :smile: Happy to take suggestions for formatting standards, if anyone wants to bikeshed. --------- Co-authored-by: Andreas Stenius Co-authored-by: Joshua Cannon --- .taplo.toml | 2 ++ pants.toml | 7 ++--- pyproject.toml | 28 +++++++++---------- src/rust/engine/Cargo.toml | 13 +++++---- src/rust/engine/address/Cargo.toml | 2 +- src/rust/engine/async_latch/Cargo.toml | 2 +- src/rust/engine/async_value/Cargo.toml | 2 +- src/rust/engine/cache/Cargo.toml | 4 +-- src/rust/engine/client/Cargo.toml | 2 +- src/rust/engine/dep_inference/Cargo.toml | 2 +- src/rust/engine/fs/Cargo.toml | 2 +- src/rust/engine/fs/brfs/Cargo.toml | 2 +- src/rust/engine/fs/fs_util/Cargo.toml | 2 +- src/rust/engine/fs/store/Cargo.toml | 2 +- src/rust/engine/graph/Cargo.toml | 2 +- src/rust/engine/grpc_util/Cargo.toml | 2 +- src/rust/engine/hashing/Cargo.toml | 2 +- src/rust/engine/logging/Cargo.toml | 2 +- src/rust/engine/nailgun/Cargo.toml | 2 +- src/rust/engine/options/Cargo.toml | 2 +- src/rust/engine/process_execution/Cargo.toml | 6 ++-- .../process_execution/docker/Cargo.toml | 2 +- .../process_execution/pe_nailgun/Cargo.toml | 2 +- .../process_execution/remote/Cargo.toml | 2 +- src/rust/engine/process_executor/Cargo.toml | 6 ++-- src/rust/engine/protos/Cargo.toml | 2 +- src/rust/engine/rule_graph/Cargo.toml | 9 ++++-- src/rust/engine/sharded_lmdb/Cargo.toml | 2 +- src/rust/engine/stdio/Cargo.toml | 2 +- src/rust/engine/task_executor/Cargo.toml | 2 +- src/rust/engine/testutil/Cargo.toml | 4 +-- src/rust/engine/testutil/local_cas/Cargo.toml | 3 +- .../local_execution_server/Cargo.toml | 3 +- src/rust/engine/testutil/mock/Cargo.toml | 2 +- src/rust/engine/tryfuture/Cargo.toml | 3 +- src/rust/engine/ui/Cargo.toml | 8 ++++-- src/rust/engine/watch/Cargo.toml | 2 +- src/rust/engine/workunit_store/Cargo.toml | 4 +-- .../src/python/mypyc_fib/pyproject.toml | 5 +--- testprojects/src/python/native/pyproject.toml | 6 +--- 40 files changed, 81 insertions(+), 78 deletions(-) create mode 100644 .taplo.toml diff --git a/.taplo.toml b/.taplo.toml new file mode 100644 index 00000000000..ccfe63c0ae5 --- /dev/null +++ b/.taplo.toml @@ -0,0 +1,2 @@ +[formatting] +column_width = 100 diff --git a/pants.toml b/pants.toml index fdeb07ce14f..d69028a5b15 100644 --- a/pants.toml +++ b/pants.toml @@ -35,12 +35,13 @@ backend_packages.add = [ "pants.backend.experimental.tools.workunit_logger", "pants.backend.experimental.visibility", "pants.backend.tools.preamble", + "pants.backend.tools.taplo", "pants.explorer.server", "internal_plugins.releases", "internal_plugins.test_lockfile_fixtures", ] plugins = [ - "hdrhistogram", # For use with `--stats-log`. + "hdrhistogram", # For use with `--stats-log`. ] # The invalidation globs cover the PYTHONPATH by default, but we exclude some files that are on the @@ -116,9 +117,7 @@ build_file_header = """\ # Copyright 2023 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). """ -ignore_paths = [ - "build-support/migration-support/BUILD", -] +ignore_paths = ["build-support/migration-support/BUILD"] ignore_adding_targets = [ "src/python/pants:__main__", "src/python/pants/backend/docker/subsystems:dockerfile_wrapper_script", diff --git a/pyproject.toml b/pyproject.toml index 3dc896c1d63..ed16aafd74c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,19 +54,19 @@ show_traceback = true [[tool.mypy.overrides]] module = [ - "botocore", - "bs4", - "chevron", - "colors", - "dockerfile", - "fasteners", - "freezegun", - "gnupg", - "hdrh", - "hdrh.histogram", - "ijson.*", - "nodesemver", - "pex.*", - "psutil", + "botocore", + "bs4", + "chevron", + "colors", + "dockerfile", + "fasteners", + "freezegun", + "gnupg", + "hdrh", + "hdrh.histogram", + "ijson.*", + "nodesemver", + "pex.*", + "psutil", ] ignore_missing_imports = true diff --git a/src/rust/engine/Cargo.toml b/src/rust/engine/Cargo.toml index 93d881ab100..49dfff2119f 100644 --- a/src/rust/engine/Cargo.toml +++ b/src/rust/engine/Cargo.toml @@ -2,7 +2,7 @@ version = "0.0.1" edition = "2021" name = "engine" -authors = [ "Pants Build " ] +authors = ["Pants Build "] publish = false # NOTE: See `src/rust/engine/.cargo/config` for `--cfg` flags enabled for these crates. @@ -60,7 +60,7 @@ members = [ "tryfuture", "ui", "watch", - "workunit_store" + "workunit_store", ] # These are the packages which are built/tested when no special selector flags are passed to cargo. @@ -104,7 +104,7 @@ default-members = [ "tryfuture", "ui", "watch", - "workunit_store" + "workunit_store", ] [lib] @@ -129,7 +129,10 @@ cache = { path = "cache" } concrete_time = { path = "concrete_time" } crossbeam-channel = "0.5" # TODO: Waiting on https://github.com/Aeledfyr/deepsize/pull/{30,31,32}. -deepsize = { git = "https://github.com/stuhood/deepsize.git", rev = "5c8bee5443fcafe4aaa9274490d354412d0955c1", features=["internment", "smallvec"] } +deepsize = { git = "https://github.com/stuhood/deepsize.git", rev = "5c8bee5443fcafe4aaa9274490d354412d0955c1", features = [ + "internment", + "smallvec", +] } dep_inference = { path = "dep_inference" } derivative = "2.2" async-oncecell = "0.2" @@ -159,7 +162,7 @@ rand = "0.8" regex = "1" reqwest = { version = "0.11", default_features = false, features = ["stream", "rustls-tls"] } rule_graph = { path = "rule_graph" } -smallvec = { version = "1", features=["union"] } +smallvec = { version = "1", features = ["union"] } stdio = { path = "stdio" } store = { path = "fs/store" } serde_json = "1.0" diff --git a/src/rust/engine/address/Cargo.toml b/src/rust/engine/address/Cargo.toml index 81f37744098..581cd1c77cf 100644 --- a/src/rust/engine/address/Cargo.toml +++ b/src/rust/engine/address/Cargo.toml @@ -2,7 +2,7 @@ version = "0.0.1" edition = "2021" name = "address" -authors = [ "Pants Build " ] +authors = ["Pants Build "] publish = false [dependencies] diff --git a/src/rust/engine/async_latch/Cargo.toml b/src/rust/engine/async_latch/Cargo.toml index 78550e27474..63dc130ee41 100644 --- a/src/rust/engine/async_latch/Cargo.toml +++ b/src/rust/engine/async_latch/Cargo.toml @@ -2,7 +2,7 @@ version = "0.0.1" edition = "2021" name = "async_latch" -authors = [ "Pants Build " ] +authors = ["Pants Build "] publish = false [dependencies] diff --git a/src/rust/engine/async_value/Cargo.toml b/src/rust/engine/async_value/Cargo.toml index 0b9cedbedb2..03ee3f1358d 100644 --- a/src/rust/engine/async_value/Cargo.toml +++ b/src/rust/engine/async_value/Cargo.toml @@ -2,7 +2,7 @@ version = "0.0.1" edition = "2021" name = "async_value" -authors = [ "Pants Build " ] +authors = ["Pants Build "] publish = false [dependencies] diff --git a/src/rust/engine/cache/Cargo.toml b/src/rust/engine/cache/Cargo.toml index 371a288f23b..d3d6acb1479 100644 --- a/src/rust/engine/cache/Cargo.toml +++ b/src/rust/engine/cache/Cargo.toml @@ -2,7 +2,7 @@ name = "cache" version = "0.0.1" edition = "2021" -authors = [ "Pants Build " ] +authors = ["Pants Build "] publish = false [dependencies] @@ -10,5 +10,5 @@ bytes = "1.2" grpc_util = { path = "../grpc_util" } hashing = { path = "../hashing" } protos = { path = "../protos" } -sharded_lmdb = { path = "../sharded_lmdb" } +sharded_lmdb = { path = "../sharded_lmdb" } task_executor = { path = "../task_executor" } diff --git a/src/rust/engine/client/Cargo.toml b/src/rust/engine/client/Cargo.toml index d9768f371a9..92b5deb1464 100644 --- a/src/rust/engine/client/Cargo.toml +++ b/src/rust/engine/client/Cargo.toml @@ -2,7 +2,7 @@ version = "0.0.1" edition = "2021" name = "client" -authors = [ "Pants Build " ] +authors = ["Pants Build "] publish = false [[bin]] diff --git a/src/rust/engine/dep_inference/Cargo.toml b/src/rust/engine/dep_inference/Cargo.toml index 724f5c88899..c4295578bd4 100644 --- a/src/rust/engine/dep_inference/Cargo.toml +++ b/src/rust/engine/dep_inference/Cargo.toml @@ -2,7 +2,7 @@ version = "0.0.1" edition = "2021" name = "dep_inference" -authors = [ "Pants Build " ] +authors = ["Pants Build "] publish = false [build-dependencies] diff --git a/src/rust/engine/fs/Cargo.toml b/src/rust/engine/fs/Cargo.toml index ca0f87a950e..0b3dc7c60e3 100644 --- a/src/rust/engine/fs/Cargo.toml +++ b/src/rust/engine/fs/Cargo.toml @@ -2,7 +2,7 @@ version = "0.0.1" edition = "2021" name = "fs" -authors = [ "Pants Build " ] +authors = ["Pants Build "] publish = false [dependencies] diff --git a/src/rust/engine/fs/brfs/Cargo.toml b/src/rust/engine/fs/brfs/Cargo.toml index e768a99e444..4798dbc3a2e 100644 --- a/src/rust/engine/fs/brfs/Cargo.toml +++ b/src/rust/engine/fs/brfs/Cargo.toml @@ -2,7 +2,7 @@ name = "brfs" version = "0.0.1" edition = "2021" -authors = [ "Pants Build " ] +authors = ["Pants Build "] publish = false [dependencies] diff --git a/src/rust/engine/fs/fs_util/Cargo.toml b/src/rust/engine/fs/fs_util/Cargo.toml index a131400b856..ee05734899e 100644 --- a/src/rust/engine/fs/fs_util/Cargo.toml +++ b/src/rust/engine/fs/fs_util/Cargo.toml @@ -2,7 +2,7 @@ name = "fs_util" version = "0.0.1" edition = "2021" -authors = [ "Pants Build " ] +authors = ["Pants Build "] publish = false [dependencies] diff --git a/src/rust/engine/fs/store/Cargo.toml b/src/rust/engine/fs/store/Cargo.toml index 4d74516ad6b..8d50c936cd6 100644 --- a/src/rust/engine/fs/store/Cargo.toml +++ b/src/rust/engine/fs/store/Cargo.toml @@ -41,7 +41,7 @@ tonic = { version = "0.6", features = ["transport", "codegen", "tls", "tls-roots tower-service = "0.3" tryfuture = { path = "../../tryfuture" } uuid = { version = "1.1.2", features = ["v4"] } -workunit_store = {path = "../../workunit_store" } +workunit_store = { path = "../../workunit_store" } [dev-dependencies] criterion = "0.4" diff --git a/src/rust/engine/graph/Cargo.toml b/src/rust/engine/graph/Cargo.toml index ce944b7cd62..08e59df65d9 100644 --- a/src/rust/engine/graph/Cargo.toml +++ b/src/rust/engine/graph/Cargo.toml @@ -2,7 +2,7 @@ version = "0.0.1" edition = "2021" name = "graph" -authors = [ "Pants Build " ] +authors = ["Pants Build "] publish = false [dependencies] diff --git a/src/rust/engine/grpc_util/Cargo.toml b/src/rust/engine/grpc_util/Cargo.toml index 8e77d795e75..e5ad7dac4b4 100644 --- a/src/rust/engine/grpc_util/Cargo.toml +++ b/src/rust/engine/grpc_util/Cargo.toml @@ -2,7 +2,7 @@ version = "0.0.1" edition = "2021" name = "grpc_util" -authors = [ "Pants Build " ] +authors = ["Pants Build "] publish = false [dependencies] diff --git a/src/rust/engine/hashing/Cargo.toml b/src/rust/engine/hashing/Cargo.toml index dcd9ee78663..a59992b6a01 100644 --- a/src/rust/engine/hashing/Cargo.toml +++ b/src/rust/engine/hashing/Cargo.toml @@ -2,7 +2,7 @@ name = "hashing" version = "0.0.1" edition = "2021" -authors = [ "Pants Build " ] +authors = ["Pants Build "] publish = false [dependencies] diff --git a/src/rust/engine/logging/Cargo.toml b/src/rust/engine/logging/Cargo.toml index 4159e2fb8d4..89fbbb607b7 100644 --- a/src/rust/engine/logging/Cargo.toml +++ b/src/rust/engine/logging/Cargo.toml @@ -2,7 +2,7 @@ version = "0.0.1" edition = "2021" name = "logging" -authors = [ "Pants Build " ] +authors = ["Pants Build "] publish = false [dependencies] diff --git a/src/rust/engine/nailgun/Cargo.toml b/src/rust/engine/nailgun/Cargo.toml index 1c1c7428cdb..bb6288e6e83 100644 --- a/src/rust/engine/nailgun/Cargo.toml +++ b/src/rust/engine/nailgun/Cargo.toml @@ -2,7 +2,7 @@ version = "0.0.1" edition = "2021" name = "nailgun" -authors = [ "Pants Build " ] +authors = ["Pants Build "] publish = false [dependencies] diff --git a/src/rust/engine/options/Cargo.toml b/src/rust/engine/options/Cargo.toml index 03d013821d0..4e16c362444 100644 --- a/src/rust/engine/options/Cargo.toml +++ b/src/rust/engine/options/Cargo.toml @@ -2,7 +2,7 @@ version = "0.0.1" edition = "2021" name = "options" -authors = [ "Pants Build " ] +authors = ["Pants Build "] publish = false [dependencies] diff --git a/src/rust/engine/process_execution/Cargo.toml b/src/rust/engine/process_execution/Cargo.toml index 181278961c4..785d73a7feb 100644 --- a/src/rust/engine/process_execution/Cargo.toml +++ b/src/rust/engine/process_execution/Cargo.toml @@ -2,7 +2,7 @@ version = "0.0.1" edition = "2021" name = "process_execution" -authors = [ "Pants Build " ] +authors = ["Pants Build "] publish = false [dependencies] @@ -16,7 +16,9 @@ bytes = "1.2" cache = { path = "../cache" } derivative = "2.2" # TODO: Waiting on https://github.com/Aeledfyr/deepsize/pull/{30,31,32}. -deepsize = { git = "https://github.com/stuhood/deepsize.git", rev = "5c8bee5443fcafe4aaa9274490d354412d0955c1", features=["log"] } +deepsize = { git = "https://github.com/stuhood/deepsize.git", rev = "5c8bee5443fcafe4aaa9274490d354412d0955c1", features = [ + "log", +] } grpc_util = { path = "../grpc_util" } fs = { path = "../fs" } futures = "0.3" diff --git a/src/rust/engine/process_execution/docker/Cargo.toml b/src/rust/engine/process_execution/docker/Cargo.toml index 4585030f446..0e35f25d964 100644 --- a/src/rust/engine/process_execution/docker/Cargo.toml +++ b/src/rust/engine/process_execution/docker/Cargo.toml @@ -2,7 +2,7 @@ version = "0.0.1" edition = "2021" name = "docker" -authors = [ "Pants Build " ] +authors = ["Pants Build "] publish = false [dependencies] diff --git a/src/rust/engine/process_execution/pe_nailgun/Cargo.toml b/src/rust/engine/process_execution/pe_nailgun/Cargo.toml index 3035c1bddae..ce9b18e1469 100644 --- a/src/rust/engine/process_execution/pe_nailgun/Cargo.toml +++ b/src/rust/engine/process_execution/pe_nailgun/Cargo.toml @@ -2,7 +2,7 @@ version = "0.0.1" edition = "2021" name = "pe_nailgun" -authors = [ "Pants Build " ] +authors = ["Pants Build "] publish = false [dependencies] diff --git a/src/rust/engine/process_execution/remote/Cargo.toml b/src/rust/engine/process_execution/remote/Cargo.toml index 3513fc39b14..6ddb55e8d28 100644 --- a/src/rust/engine/process_execution/remote/Cargo.toml +++ b/src/rust/engine/process_execution/remote/Cargo.toml @@ -2,7 +2,7 @@ version = "0.0.1" edition = "2021" name = "remote" -authors = [ "Pants Build " ] +authors = ["Pants Build "] publish = false [dependencies] diff --git a/src/rust/engine/process_executor/Cargo.toml b/src/rust/engine/process_executor/Cargo.toml index d5a3983a8f7..009234f8687 100644 --- a/src/rust/engine/process_executor/Cargo.toml +++ b/src/rust/engine/process_executor/Cargo.toml @@ -2,7 +2,7 @@ version = "0.0.1" edition = "2021" name = "process_executor" -authors = [ "Pants Build " ] +authors = ["Pants Build "] publish = false [dependencies] @@ -21,5 +21,5 @@ shlex = "1.1.0" store = { path = "../fs/store" } task_executor = { path = "../task_executor" } tokio = { version = "1.28", features = ["rt-multi-thread", "macros"] } -workunit_store = { path = "../workunit_store"} -remote = { path = "../process_execution/remote"} +workunit_store = { path = "../workunit_store" } +remote = { path = "../process_execution/remote" } diff --git a/src/rust/engine/protos/Cargo.toml b/src/rust/engine/protos/Cargo.toml index e306e01c472..2766a06b815 100644 --- a/src/rust/engine/protos/Cargo.toml +++ b/src/rust/engine/protos/Cargo.toml @@ -2,7 +2,7 @@ version = "0.0.1" edition = "2021" name = "protos" -authors = [ "Pants Build " ] +authors = ["Pants Build "] publish = false [dependencies] diff --git a/src/rust/engine/rule_graph/Cargo.toml b/src/rust/engine/rule_graph/Cargo.toml index ab4a3800e95..fafa77e79f7 100644 --- a/src/rust/engine/rule_graph/Cargo.toml +++ b/src/rust/engine/rule_graph/Cargo.toml @@ -2,18 +2,21 @@ version = "0.0.1" edition = "2021" name = "rule_graph" -authors = [ "Pants Build " ] +authors = ["Pants Build "] publish = false [dependencies] # TODO: Waiting on https://github.com/Aeledfyr/deepsize/pull/{30,31,32}. -deepsize = { git = "https://github.com/stuhood/deepsize.git", rev = "5c8bee5443fcafe4aaa9274490d354412d0955c1", features=["internment", "smallvec"] } +deepsize = { git = "https://github.com/stuhood/deepsize.git", rev = "5c8bee5443fcafe4aaa9274490d354412d0955c1", features = [ + "internment", + "smallvec", +] } fnv = "1.0.5" indexmap = "1.9" internment = "0.6" log = "0.4" petgraph = "0.6" -smallvec = { version = "1", features=["union"] } +smallvec = { version = "1", features = ["union"] } [dev-dependencies] env_logger = "0.10.0" diff --git a/src/rust/engine/sharded_lmdb/Cargo.toml b/src/rust/engine/sharded_lmdb/Cargo.toml index 1d83463caa8..7fd44a1493b 100644 --- a/src/rust/engine/sharded_lmdb/Cargo.toml +++ b/src/rust/engine/sharded_lmdb/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "sharded_lmdb" version = "0.0.1" -authors = [ "Pants Build " ] +authors = ["Pants Build "] edition = "2021" [dependencies] diff --git a/src/rust/engine/stdio/Cargo.toml b/src/rust/engine/stdio/Cargo.toml index da7a4d7d445..949fd15abff 100644 --- a/src/rust/engine/stdio/Cargo.toml +++ b/src/rust/engine/stdio/Cargo.toml @@ -2,7 +2,7 @@ version = "0.0.1" edition = "2021" name = "stdio" -authors = [ "Pants Build " ] +authors = ["Pants Build "] publish = false [dependencies] diff --git a/src/rust/engine/task_executor/Cargo.toml b/src/rust/engine/task_executor/Cargo.toml index ee3509edaae..ffa2b7231bc 100644 --- a/src/rust/engine/task_executor/Cargo.toml +++ b/src/rust/engine/task_executor/Cargo.toml @@ -2,7 +2,7 @@ version = "0.0.1" edition = "2021" name = "task_executor" -authors = [ "Pants Build " ] +authors = ["Pants Build "] publish = false [dependencies] diff --git a/src/rust/engine/testutil/Cargo.toml b/src/rust/engine/testutil/Cargo.toml index 3bb3f267196..e67e8665d63 100644 --- a/src/rust/engine/testutil/Cargo.toml +++ b/src/rust/engine/testutil/Cargo.toml @@ -2,7 +2,7 @@ version = "0.0.1" edition = "2021" name = "testutil" -authors = [ "Pants Build " ] +authors = ["Pants Build "] publish = false [dependencies] @@ -11,5 +11,5 @@ bytes = "1.2" fs = { path = "../fs" } grpc_util = { path = "../grpc_util" } hashing = { path = "../hashing" } -prost = "0.9" +prost = "0.9" protos = { path = "../protos" } diff --git a/src/rust/engine/testutil/local_cas/Cargo.toml b/src/rust/engine/testutil/local_cas/Cargo.toml index 68d80da25b1..e0b3b12f1c2 100644 --- a/src/rust/engine/testutil/local_cas/Cargo.toml +++ b/src/rust/engine/testutil/local_cas/Cargo.toml @@ -2,11 +2,10 @@ name = "local_cas" version = "0.0.1" edition = "2021" -authors = [ "Pants Build " ] +authors = ["Pants Build "] publish = false [dependencies] mock = { path = "../mock" } clap = "3" env_logger = "0.10.0" - diff --git a/src/rust/engine/testutil/local_execution_server/Cargo.toml b/src/rust/engine/testutil/local_execution_server/Cargo.toml index b90696fd720..32ab11e788c 100644 --- a/src/rust/engine/testutil/local_execution_server/Cargo.toml +++ b/src/rust/engine/testutil/local_execution_server/Cargo.toml @@ -2,11 +2,10 @@ name = "local_execution_server" version = "0.1.0" edition = "2021" -authors = [ "Pants Build " ] +authors = ["Pants Build "] publish = false [dependencies] protos = { path = "../../protos" } mock = { path = "../mock" } clap = { version = "3", features = ["derive"] } - diff --git a/src/rust/engine/testutil/mock/Cargo.toml b/src/rust/engine/testutil/mock/Cargo.toml index b918af45fd1..a47d4bf2c0b 100644 --- a/src/rust/engine/testutil/mock/Cargo.toml +++ b/src/rust/engine/testutil/mock/Cargo.toml @@ -2,7 +2,7 @@ name = "mock" version = "0.0.1" edition = "2021" -authors = [ "Pants Build " ] +authors = ["Pants Build "] publish = false [dependencies] diff --git a/src/rust/engine/tryfuture/Cargo.toml b/src/rust/engine/tryfuture/Cargo.toml index 0168add2ef9..bed09462b39 100644 --- a/src/rust/engine/tryfuture/Cargo.toml +++ b/src/rust/engine/tryfuture/Cargo.toml @@ -2,9 +2,8 @@ version = "0.0.1" edition = "2021" name = "tryfuture" -authors = [ "Pants Build " ] +authors = ["Pants Build "] publish = false [dependencies] futures = "0.3" - diff --git a/src/rust/engine/ui/Cargo.toml b/src/rust/engine/ui/Cargo.toml index 8ef0a32a750..d3df6f510f4 100644 --- a/src/rust/engine/ui/Cargo.toml +++ b/src/rust/engine/ui/Cargo.toml @@ -2,7 +2,7 @@ name = "ui" version = "0.0.1" edition = "2021" -authors = [ "Pants Build " ] +authors = ["Pants Build "] [lib] path = "src/console_ui.rs" @@ -15,7 +15,11 @@ indicatif = "0.17" logging = { path = "../logging" } parking_lot = "0.12" # TODO: See https://github.com/Byron/prodash/pull/9. -prodash = { git = "https://github.com/stuhood/prodash", rev = 'stuhood/raw-messages-draft', version = "16", default-features = false, features = ["progress-tree", "render-line", "render-line-termion"] } +prodash = { git = "https://github.com/stuhood/prodash", rev = 'stuhood/raw-messages-draft', version = "16", default-features = false, features = [ + "progress-tree", + "render-line", + "render-line-termion", +] } stdio = { path = "../stdio" } terminal_size = "0.1.15" task_executor = { path = "../task_executor" } diff --git a/src/rust/engine/watch/Cargo.toml b/src/rust/engine/watch/Cargo.toml index 931cc1d68b6..afc44aa60d6 100644 --- a/src/rust/engine/watch/Cargo.toml +++ b/src/rust/engine/watch/Cargo.toml @@ -2,7 +2,7 @@ version = "0.0.1" edition = "2021" name = "watch" -authors = [ "Pants Build " ] +authors = ["Pants Build "] publish = false [dependencies] diff --git a/src/rust/engine/workunit_store/Cargo.toml b/src/rust/engine/workunit_store/Cargo.toml index 05e0d45d275..b3eba649558 100644 --- a/src/rust/engine/workunit_store/Cargo.toml +++ b/src/rust/engine/workunit_store/Cargo.toml @@ -2,7 +2,7 @@ version = "0.0.1" edition = "2021" name = "workunit_store" -authors = [ "Pants Build " ] +authors = ["Pants Build "] publish = false [dependencies] @@ -16,7 +16,7 @@ log = "0.4" parking_lot = "0.12" petgraph = "0.6" rand = "0.8" -smallvec = { version = "1", features=["union"] } +smallvec = { version = "1", features = ["union"] } strum = "0.24" strum_macros = "0.24" tokio = { version = "1.28", features = ["rt", "sync"] } diff --git a/testprojects/src/python/mypyc_fib/pyproject.toml b/testprojects/src/python/mypyc_fib/pyproject.toml index af2bad2bb7a..a2813384314 100644 --- a/testprojects/src/python/mypyc_fib/pyproject.toml +++ b/testprojects/src/python/mypyc_fib/pyproject.toml @@ -1,7 +1,4 @@ [build-system] -requires = [ - "setuptools==57.5.0", - "wheel==0.37.0", -] +requires = ["setuptools==57.5.0", "wheel==0.37.0"] build-backend = "setuptools.build_meta" diff --git a/testprojects/src/python/native/pyproject.toml b/testprojects/src/python/native/pyproject.toml index 1a82abb659c..3d4c9c98b1a 100644 --- a/testprojects/src/python/native/pyproject.toml +++ b/testprojects/src/python/native/pyproject.toml @@ -1,8 +1,4 @@ [build-system] -requires = [ - "setuptools==57.5.0", - "wheel==0.37.0", - "ansicolors==1.1.8", -] +requires = ["setuptools==57.5.0", "wheel==0.37.0", "ansicolors==1.1.8"] build-backend = "setuptools.build_meta"