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

Distinguish warnings and errors #46

Open
Robsteranium opened this issue Nov 2, 2021 · 1 comment
Open

Distinguish warnings and errors #46

Robsteranium opened this issue Nov 2, 2021 · 1 comment

Comments

@Robsteranium
Copy link
Contributor

We could introduce distinguish critical problems from nice to haves by giving tests a :level: Swirrl/pmd-rdf-validations#20.

@RickMoynihan has suggested that we might handle those in the validator with command line options for:

--fail-level so you can at the command line turn :warning’s into failures and return a non-zero exit code if there are any
--output-level so you can control what level of warnings are run/output

@RickMoynihan
Copy link
Member

Keywords for :level should be :warn and :error with an implict/default :level of :error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants