Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow linting of Item collections #95

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
use f string
jonhealy1 committed Feb 14, 2023
commit cc329f2fd9f82abe41c78965d2761346991328c3
16 changes: 6 additions & 10 deletions examples/lint_dict.py
Original file line number Diff line number Diff line change
@@ -127,15 +127,11 @@
}
linter = Linter(file, assets=True)

print(linter.valid_stac)

print(linter.error_type)

print(linter.error_msg)

print(f"valid: {linter.valid_stac}")
print(f"error_type: {linter.error_type}")
print(f"error_msg: {linter.error_msg}")
print(f"schema: {linter.schema}")
print(f"file_name: {linter.file_name}")
print("------")
for k,v in linter.create_best_practices_dict().items():
print(k,":",v)

print(linter.schema)

print(linter.file_name)