Skip to content

clarify linting targets in makefile #1030

@turbomam

Description

@turbomam

We use linkml-lint and yamllint to check the syntax of the mixs.yaml file after edits. The nature of the Makefile targets that do linting or experimentally apply reformatting should be as clear as possible.

Therefor, change

test1:
	echo $$PATH
	yamlfmt  -conf .yamlfmt src/mixs/schema/mixs.yaml >  src/mixs/schema/mixs_standardized.yam

to

yamlfmt-beta:  # was test1
	echo $$PATH
	yamlfmt  -conf .yamlfmt src/mixs/schema/mixs.yaml >  src/mixs/schema/mixs_standardized.yaml

yamlfmt is a system dependency

https://github.com/google/yamlfmt

we are probably not dong yamfmt by default because we haven't found a config that doesn't mangle things in soem way, like wrapping regex patterns onto multiple lines

Metadata

Metadata

Assignees

Labels

5-TechnicalUpdatesUpdates to LinkML or technical components of MIxS

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions