[bazel] add remaining lint rules that are run in `ci/jobs/quick-lint.sh`
Open
@milesdai is already working on this.
Since Sep 30, 2022.
Component:Tooling
Priority:P2
SW:Build System
Type:Enhancement
- Dominant language
- SystemVerilog
- Stars
- 3.6k
- Forks
- 1.1k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 141
Description
There are Bazel BUILD, C/C++, and license header lint rules that are easy to run with Bazel. However, there are several other lint checks that are run in CI, including checks for:
- Python code
- Rust code
- autogenerated code
- non-ascii characters
- exe bits
We should add Bazel rules for these and perhaps
- a single rule to run them all
so that the quick-lint.sh CI script may be replaced with a singlebazel run ...command.
Lastly, we should
- update the website documentation on how to run these checks
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.