Skip to content

Commit 8dbcc01

Browse files
author
Nichol Yip
committed
Removed lint-proc-macro and replaced with using struct-field-names-as-array crate instead.
Signed-off-by: Nichol Yip <[email protected]> Fixed linting errors and removed unused commented code. Signed-off-by: Nichol Yip <[email protected]> Removed dead commented code and fixed du test with the correct sizes. Signed-off-by: Nichol Yip <[email protected]> Fixed issue where no default source spec if found when no source provided Fixed issue with the default values for the meta struct when no values are provided Reverted du command tests back as it was related to the issue with the source spec. Signed-off-by: Nichol Yip <[email protected]> Fixed typo in opentimelineio.spk.yaml Added render logic to linting command that caused some packages to return an error without it. Signed-off-by: Nichol Yip <[email protected]> Added new line at EOF Signed-off-by: Nichol Yip <[email protected]> Fixed changes from rebase that was not correctly added. Signed-off-by: Nichol Yip <[email protected]> Removed shellexpand call from EnvOp Signed-off-by: Nichol Yip <[email protected]> Moved crates to top level cargo.toml Changed linting feature to return an UnknownKey object instead of a generated string Modified new method for UnknownKey to store values needed to generated lint message Added enum for lints to support different kinds of lints Removed commented code Refactored render method and renamed render_lint -> render_to_string Signed-off-by: Nichol Yip <[email protected]> Fixed changes from rebase Signed-off-by: Nichol Yip <[email protected]> Fixed linting errors Signed-off-by: Nichol Yip <[email protected]> WIP: Properly convert UncheckedBuildSpec -> BuildSpec Signed-off-by: Nichol Yip <[email protected]> Implmented LintedBuildSpec struct to properly evaluate error if any, in the visitor method instead of the from implementation. Signed-off-by: Nichol Yip <[email protected]> Removed redundant struct and replaced with using LintedItem instead. Signed-off-by: Nichol Yip <[email protected]>
1 parent 19fc1af commit 8dbcc01

20 files changed

+437
-988
lines changed

Cargo.lock

+35-33
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+3-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ codegen-units = 1
55
[workspace]
66
members = [
77
"crates/progress_bar_derive_macro",
8-
"crates/lint_proc_macro",
98
"crates/spfs-encoding",
109
"crates/spfs",
1110
"crates/spk-build",
@@ -53,9 +52,10 @@ futures-core = "0.3.28"
5352
fuser = "0.12"
5453
glob = "0.3"
5554
indicatif = "0.17.5"
56-
itertools = "0.12"
55+
itertools = "0.10"
5756
libc = "0.2.80"
5857
miette = "5.10"
58+
ngrammatic = "0.4.0"
5959
nix = "0.26.2"
6060
nom = "7.1"
6161
nom-supreme = "0.8"
@@ -76,6 +76,7 @@ serde_yaml = "0.9.25"
7676
shellexpand = "3.1.0"
7777
static_assertions = "1.1"
7878
strip-ansi-escapes = "0.1.1"
79+
struct-field-names-as-array = "0.3.0"
7980
strum = { version = "0.24", features = ["derive"] }
8081
thiserror = "1.0"
8182
tempfile = "3.3"

crates/lint_proc_macro/Cargo.toml

-13
This file was deleted.

crates/lint_proc_macro/src/lib.rs

-56
This file was deleted.

0 commit comments

Comments
 (0)