mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 21:23:56 +00:00
Auto merge of #4357 - lzutao:update-pr-template, r=flip1995
template: Update how to format source code with ./util/dev changelog: none
This commit is contained in:
commit
16e0272d65
2 changed files with 7 additions and 3 deletions
6
.github/PULL_REQUEST_TEMPLATE
vendored
6
.github/PULL_REQUEST_TEMPLATE
vendored
|
@ -16,9 +16,11 @@ checked during review or continuous integration.
|
|||
- [ ] Followed [lint naming conventions][lint_naming]
|
||||
- [ ] Added passing UI tests (including committed `.stderr` file)
|
||||
- [ ] `cargo test` passes locally
|
||||
- [ ] Executed `util/dev update_lints`
|
||||
- [ ] Executed `./util/dev update_lints`
|
||||
- [ ] Added lint documentation
|
||||
- [ ] Run `cargo fmt`
|
||||
- [ ] Run `./util/dev fmt`
|
||||
|
||||
[lint_naming]: https://rust-lang.github.io/rfcs/0344-conventions-galore.html#lints
|
||||
|
||||
Note that you can skip the above if you are just opening a WIP PR in
|
||||
order to get feedback.
|
||||
|
|
|
@ -368,10 +368,12 @@ output in the `stdout` part.
|
|||
|
||||
Before submitting your PR make sure you followed all of the basic requirements:
|
||||
|
||||
<!-- Sync this with `.github/PULL_REQUEST_TEMPLATE` -->
|
||||
|
||||
- [ ] Followed [lint naming conventions][lint_naming]
|
||||
- [ ] Added passing UI tests (including committed `.stderr` file)
|
||||
- [ ] `cargo test` passes locally
|
||||
- [ ] Executed `util/dev update_lints`
|
||||
- [ ] Executed `./util/dev update_lints`
|
||||
- [ ] Added lint documentation
|
||||
- [ ] Run `./util/dev fmt`
|
||||
|
||||
|
|
Loading…
Reference in a new issue