-
Notifications
You must be signed in to change notification settings - Fork 671
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chore/reorder imports #3556
Chore/reorder imports #3556
Conversation
Codecov Report
@@ Coverage Diff @@
## next #3556 +/- ##
==========================================
+ Coverage 27.28% 29.36% +2.08%
==========================================
Files 305 309 +4
Lines 276796 278266 +1470
==========================================
+ Hits 75513 81702 +6189
+ Misses 201283 196564 -4719
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
11203ce
to
34e6a54
Compare
Looks like there needs to be at least one more rebase :/ |
add more guidance to contributing.md changes to contributing.md
34e6a54
to
972f061
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just noticed a few issues with the merged contributing guide.
docs/CONTRIBUTING.md
Outdated
|
||
- When documenting panics, errors, or other conceptual sections, introduce a Markdown section with a single `#`, e.g.: | ||
|
||
- ``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is an extraneous -
here which messes up the formatting for the rest of the doc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the indent had to be fixed here!
docs/CONTRIBUTING.md
Outdated
#### Guidance for Slow/Non-Parallelizable Tests | ||
PRs must include test coverage. However, if your PR includes large tests or tests which cannot run in parallel | ||
(which is the default operation of the `cargo test` command), these tests should be decorated with `#[ignore]`. | ||
If you add `#[ignore]` tests, you should add your branch to the filters for the `all_tests` job in our circle.yml | ||
(or if you are working on net code or marf code, your branch should be named such that it matches the existing | ||
filters there). | ||
|
||
A test should be marked `#[ignore]` if: | ||
|
||
1. It does not _always_ pass `cargo test` in a vanilla environment (i.e., it does not need to run with `--test-threads 1`). | ||
2. Or, it runs for over a minute via a normal `cargo test` execution (the `cargo test` command will warn if this is not the case). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This sub-section should not be under the Comments section.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description
I used a rustfmt flag in order to do this reformatting. Here is the command:
cargo fmt --all -- --config group_imports=StdExternalCrate
. To run just the check, you can runcargo fmt --all -- --check --config group_imports=StdExternalCrate
.Applicable issues
Additional info (benefits, drawbacks, caveats)
Checklist
docs/rpc/openapi.yaml
andrpc-endpoints.md
for v2 endpoints,event-dispatcher.md
for new events)clarity-benchmarking
repobitcoin-tests.yml