Skip to content

Commit a446ad1

Browse files
authored
Merge pull request #123 from epage/template
chore: Update from _rust template
2 parents db2aef6 + 996f169 commit a446ad1

File tree

5 files changed

+13
-8
lines changed

5 files changed

+13
-8
lines changed

.github/renovate.json5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
matchManagers: [
3333
'custom.regex',
3434
],
35-
matchPackageNames: [
35+
matchDepNames: [
3636
'STABLE',
3737
],
3838
extractVersion: '^(?<version>\\d+\\.\\d+)', // Drop the patch version

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ jobs:
126126
run: cargo install sarif-fmt --locked
127127
- name: Check
128128
run: >
129-
cargo clippy --workspace --all-features --all-targets --message-format=json -- -D warnings --allow deprecated
129+
cargo clippy --workspace --all-features --all-targets --message-format=json
130130
| clippy-sarif
131131
| tee clippy-results.sarif
132132
| sarif-fmt

CONTRIBUTING.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ appreciate any level you're willing to do.
77

88
Need some new functionality to help? You can let us know by opening an
99
[issue][new issue]. It's helpful to look through [all issues][all issues] in
10-
case its already being talked about.
10+
case it's already being talked about.
1111

1212
## Bug Reports
1313

1414
Please let us know about what problems you run into, whether in behavior or
1515
ergonomics of API. You can do this by opening an [issue][new issue]. It's
16-
helpful to look through [all issues][all issues] in case its already being
16+
helpful to look through [all issues][all issues] in case it's already being
1717
talked about.
1818

1919
### Reproducing Bugs
@@ -26,7 +26,7 @@ trees. You can verify your yaml file by the `git-fixture` command.
2626

2727
## Pull Requests
2828

29-
Looking for an idea? Check our [issues][issues]. If it's look more open ended,
29+
Looking for an idea? Check our [issues][issues]. If the issue looks open ended,
3030
it is probably best to post on the issue how you are thinking of resolving the
3131
issue so you can get feedback early in the process. We want you to be
3232
successful and it can be discouraging to find out a lot of re-work is needed.
@@ -49,15 +49,18 @@ As a heads up, we'll be running your PR through the following gauntlet:
4949
Not everything can be checked automatically though.
5050

5151
We request that the commit history gets cleaned up.
52+
5253
We ask that commits are atomic, meaning they are complete and have a single responsibility.
53-
PRs should tell a cohesive story, with test and refactor commits that keep the
54+
A complete commit should build, pass tests, update documentation and tests, and not have dead code.
55+
56+
PRs should tell a cohesive story, with refactor and test commits that keep the
5457
fix or feature commits simple and clear.
5558

5659
Specifically, we would encourage
5760
- File renames be isolated into their own commit
58-
- Add tests in a commit before their feature or fix, showing the current behavior.
61+
- Add tests in a commit before their feature or fix, showing the current behavior (i.e. they should pass).
5962
The diff for the feature/fix commit will then show how the behavior changed,
60-
making it clearer to reviewrs and the community and showing people that the
63+
making the commit's intent clearer to reviewers and the community, and showing people that the
6164
test is verifying the expected state.
6265
- e.g. [clap#5520](https://github.com/clap-rs/clap/pull/5520)
6366

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ rc_mutex = "warn"
7373
redundant_feature_names = "warn"
7474
ref_option_ref = "warn"
7575
rest_pat_in_fully_bound_structs = "warn"
76+
result_large_err = "allow"
7677
same_functions_in_if_condition = "warn"
7778
self_named_module_files = "warn"
7879
semicolon_if_nothing_returned = "warn"

deny.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ allow = [
8787
"MIT",
8888
"MIT-0",
8989
"Apache-2.0",
90+
"BSD-2-Clause",
9091
"BSD-3-Clause",
9192
"MPL-2.0",
9293
"Unicode-DFS-2016",

0 commit comments

Comments
 (0)