Skip to content

Commit 16e0272

Browse files
committed
Auto merge of #4357 - lzutao:update-pr-template, r=flip1995
template: Update how to format source code with ./util/dev changelog: none
2 parents 4465e2f + 5cad46d commit 16e0272

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/PULL_REQUEST_TEMPLATE

+4-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@ checked during review or continuous integration.
1616
- [ ] Followed [lint naming conventions][lint_naming]
1717
- [ ] Added passing UI tests (including committed `.stderr` file)
1818
- [ ] `cargo test` passes locally
19-
- [ ] Executed `util/dev update_lints`
19+
- [ ] Executed `./util/dev update_lints`
2020
- [ ] Added lint documentation
21-
- [ ] Run `cargo fmt`
21+
- [ ] Run `./util/dev fmt`
22+
23+
[lint_naming]: https://rust-lang.github.io/rfcs/0344-conventions-galore.html#lints
2224

2325
Note that you can skip the above if you are just opening a WIP PR in
2426
order to get feedback.

doc/adding_lints.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -368,10 +368,12 @@ output in the `stdout` part.
368368

369369
Before submitting your PR make sure you followed all of the basic requirements:
370370

371+
<!-- Sync this with `.github/PULL_REQUEST_TEMPLATE` -->
372+
371373
- [ ] Followed [lint naming conventions][lint_naming]
372374
- [ ] Added passing UI tests (including committed `.stderr` file)
373375
- [ ] `cargo test` passes locally
374-
- [ ] Executed `util/dev update_lints`
376+
- [ ] Executed `./util/dev update_lints`
375377
- [ ] Added lint documentation
376378
- [ ] Run `./util/dev fmt`
377379

0 commit comments

Comments
 (0)