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

Modify jsonnet-lint to accept multiple input files #545

Merged

Conversation

thombashi
Copy link
Contributor

Close #543

@google-cla google-cla bot added the cla: yes label Jun 27, 2021
@coveralls
Copy link

Coverage Status

Coverage increased (+0.04%) to 67.902% when pulling 37c593c on thombashi:jsonnet_lint_accept_multiple_inputs into 46d1fce on google:master.

}, &ec)
ec := common.ErrCollector{}

types.Check(node.node, roots, vars, func(currentPath, importedPath string) ast.Node {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't really take advantage of processing multiple files at once (it still builds the whole graph of type relationships each time). This is fine, though. We can do it as a separate change (which will be a performance-only change with no significant effect on the results).

@sbarzowski sbarzowski merged commit 51daeb3 into google:master Jul 1, 2021
@sbarzowski
Copy link
Collaborator

Thanks!

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

Successfully merging this pull request may close these issues.

pre-commit hook failed when committing multiple jsonnet files
3 participants