pull/31793/merge
lyx-1631 8 months ago committed by GitHub
commit a34474a0b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1,10 @@
# Added by lyx-1631 for molecule integration
import yaml
def lint_yaml(file_path):
try:
with open(file_path, 'r') as file:
yaml.safe_load(file)
print(f"{file_path} is valid YAML.")
except yaml.YAMLError as e:
print(f"Error in {file_path}: {e}")
Loading…
Cancel
Save