Skip to content

Commit 93d4866

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 2df3f80 commit 93d4866

File tree

19 files changed

+440
-968
lines changed

19 files changed

+440
-968
lines changed

Cargo.lock

Lines changed: 41 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ itertools = "0.12"
6767
libc = "0.2.80"
6868
miette = "7.0"
6969
nix = { version = "0.27.1", features = ["mount", "sched", "user"] }
70+
ngrammatic = "0.4.0"
7071
nom = "7.1"
7172
nom-supreme = "0.8"
7273
once_cell = "1.8"
@@ -135,6 +136,7 @@ spk-storage = { path = "crates/spk-storage" }
135136
static_assertions = "1.1"
136137
strip-ansi-escapes = "0.2.0"
137138
strum = { version = "0.26.1", features = ["derive"] }
139+
struct-field-names-as-array = "0.3.0"
138140
tempfile = "3.3"
139141
thiserror = "1.0"
140142
tokio = { version = "1.39", features = ["rt"] }

crates/lint_proc_macro/Cargo.toml

Lines changed: 0 additions & 13 deletions
This file was deleted.

crates/lint_proc_macro/src/lib.rs

Lines changed: 0 additions & 56 deletions
This file was deleted.

0 commit comments

Comments
 (0)