Expand fmt and tidy TOML_GLOBS range (#44180)

Add a check for formatting of the `Cargo.toml` files to CI, and run
`taplo format` to fix existing formatting issues.

---------

Signed-off-by: Martin Garton <garton@gmail.com>
This commit is contained in:
Martin Garton
2026-04-14 10:14:29 +01:00
committed by GitHub
parent 143d7fe25e
commit d0c2e0fa48
7 changed files with 10 additions and 7 deletions

View File

@@ -18,4 +18,3 @@ servo-media-gstreamer = { workspace = true }
[target.'cfg(not(any(all(target_os = "android", any(target_arch = "arm", target_arch = "aarch64")), target_arch = "x86_64", target_arch = "aarch64")))'.dependencies] [target.'cfg(not(any(all(target_os = "android", any(target_arch = "arm", target_arch = "aarch64")), target_arch = "x86_64", target_arch = "aarch64")))'.dependencies]
servo-media-dummy = { workspace = true } servo-media-dummy = { workspace = true }

View File

@@ -23,7 +23,7 @@ servo-media-webrtc = { workspace = true }
mime = "0.3.13" mime = "0.3.13"
once_cell = "1.18.0" once_cell = "1.18.0"
log = "0.4" log = "0.4"
ohos-media-sys = { version = "0.0.5" ,features = ["api-21"] } ohos-media-sys = { version = "0.0.5", features = ["api-21"] }
ohos-window-sys = { version = "0.1.3", features = ["api-13"] } ohos-window-sys = { version = "0.1.3", features = ["api-13"] }
ohos-sys-opaque-types = { version = "0.1.7" } ohos-sys-opaque-types = { version = "0.1.7" }
ipc-channel = { workspace = true } ipc-channel = { workspace = true }

View File

@@ -21,4 +21,3 @@ malloc_size_of = { workspace = true }
malloc_size_of_derive = { workspace = true } malloc_size_of_derive = { workspace = true }
servo-media-streams = { workspace = true } servo-media-streams = { workspace = true }
servo-media-traits = { workspace = true } servo-media-traits = { workspace = true }

View File

@@ -20,4 +20,3 @@ servo-media-player = { workspace = true }
servo-media-streams = { workspace = true } servo-media-streams = { workspace = true }
servo-media-traits = { workspace = true } servo-media-traits = { workspace = true }
servo-media-webrtc = { workspace = true } servo-media-webrtc = { workspace = true }

View File

@@ -6,7 +6,7 @@ dependencies = [
"selenium", "selenium",
"hdc-py>=0.1.2", "hdc-py>=0.1.2",
"pillow", "pillow",
"matplotlib" "matplotlib",
] ]
license = "Apache-2.0 OR MIT" license = "Apache-2.0 OR MIT"

View File

@@ -63,9 +63,15 @@ TOML_GLOBS = [
"*.toml", "*.toml",
".cargo/*.toml", ".cargo/*.toml",
"components/*/*.toml", "components/*/*.toml",
"components/shared/*/*.toml", "components/*/*/*.toml",
"components/media/backends/*/*.toml",
"components/media/*/*/*/*.toml",
"etc/ci/scenario/*.toml",
"ports/*/*.toml", "ports/*/*.toml",
"support/*/*.toml", "support/*/*.toml",
"python/tidy/tests/*.toml",
"python/tidy/tests/*/*.toml",
"tests/unit/*/*.toml",
] ]

View File

@@ -9,4 +9,4 @@ test-feature = []
[dev-dependencies] [dev-dependencies]
test-package = { path = "." } test-package = { path = "." }
other-name = { package = "test-package", path = "."} other-name = { package = "test-package", path = "." }