You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cylc lint always returns a 0 return code. When running a linter using pre-commit or via CI pipelines, cylc lint would hopefully return a non-zero return code so the linting will fail and raise an alert. To work around this, we could capture stdout and check for any error messages, and if there are, print them out and fail, but it's not optimal.
Proposed Solution
Add a flag to the CLI to fail on warning.
The text was updated successfully, but these errors were encountered:
Problem
cylc lint
always returns a 0 return code. When running a linter usingpre-commit
or via CI pipelines,cylc lint
would hopefully return a non-zero return code so the linting will fail and raise an alert. To work around this, we could capture stdout and check for any error messages, and if there are, print them out and fail, but it's not optimal.Proposed Solution
Add a flag to the CLI to fail on warning.
The text was updated successfully, but these errors were encountered: