Skip to content

Conversation

@dcalavrezo-qorix
Copy link

added support for running clippy checks

Addresses: eclipse-score/score#2008

added support for running clippy checks

Addresses: eclipse-score/score#2008

Signed-off-by: Dan Calavrezo <195309321+dcalavrezo-qorix@users.noreply.github.com>
@AlexanderLanin
Copy link
Member

warnings/errors on the build job?

Addresses: eclipse-score/score#2008

Signed-off-by: Dan Calavrezo <195309321+dcalavrezo-qorix@users.noreply.github.com>
Copy link
Contributor

@pawelrutkaq pawelrutkaq left a comment

Choose a reason for hiding this comment

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

I have not looked into "old rust api".

tags = ["manual"],
tags = [
"manual",
"no-clippy",
Copy link
Contributor

Choose a reason for hiding this comment

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

why no clippy ?

Copy link
Author

Choose a reason for hiding this comment

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

rust_test

srcs = ["ipc_bridge_gen.rs"],
visibility = [
"//score/mw/com:__subpackages__",
"//visibility:public",
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe the subpackages visibility shall be changed to public in module only ? I guess most of them shall not be public as such for external consumers.

Copy link
Author

Choose a reason for hiding this comment

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

good point

Changed the visibility after PR review

Signed-off-by: Dan Calavrezo <195309321+dcalavrezo-qorix@users.noreply.github.com>
Copy link
Contributor

@LittleHuba LittleHuba left a comment

Choose a reason for hiding this comment

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

Please switch you approach to use rules_lint clippy instead.
This is the preferred way of integrating linters with bazel.
https://github.com/aspect-build/rules_lint/blob/79afc5ce25f55e918a93ef66ed81163423cdf632/example/tools/lint/linters.bzl#L6

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

Successfully merging this pull request may close these issues.

5 participants