linkml lint#

linkml lint#

Run linter on SCHEMA.

SCHEMA can be a single LinkML YAML file or a directory. If it is a directory every YAML file found in the directory (recursively) will be linted.

linkml lint [OPTIONS] SCHEMA

Options

-a, --all#

Process files that start with ‘.’.

-c, --config <config>#

Custom linter configuration file.

-f, --format <format>#

Report format.

Default:

'terminal'

Options:

terminal | markdown | json | tsv

--validate#

Validate the schema against the LinkML Metamodel before linting.

--validate-only#

Validate the schema against the LinkML Metamodel and then exit without checking linter rules.

-v, --verbose#
-o, --output <output>#

Report file name.

--ignore-warnings#

Do not exit with an error status if only warnings are found.

--max-warnings <max_warnings>#

Do not exit with an error status if up to this number of warnings (and no errors) are found.

Default:

0

--fix, --no-fix#
-V, --version#

Show the version and exit.

Arguments

SCHEMA#

Required argument