Skip to content

Commit 3051c86

Browse files
authored
Merge pull request #48 from epage/template
chore: Update from _rust template
2 parents 1907d1c + 9d741d7 commit 3051c86

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

.github/workflows/pre-commit.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,6 @@ jobs:
2424
steps:
2525
- uses: actions/checkout@v4
2626
- uses: actions/setup-python@v5
27+
with:
28+
python-version: '3.x'
2729
- uses: pre-commit/action@v3.0.1

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ We ask that commits are atomic, meaning they are complete and have a single resp
4545
PRs should tell a cohesive story, with test and refactor commits that keep the
4646
fix or feature commits simple and clear.
4747

48-
Specifically, we would encouage
48+
Specifically, we would encourage
4949
- File renames be isolated into their own commit
5050
- Add tests in a commit before their feature or fix, showing the current behavior.
5151
The diff for the feature/fix commit will then show how the behavior changed,

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ string_lit_as_bytes = "warn"
8181
string_to_string = "warn"
8282
todo = "warn"
8383
trait_duplication_in_bounds = "warn"
84+
uninlined_format_args = "warn"
8485
verbose_file_reads = "warn"
8586
wildcard_imports = "warn"
8687
zero_sized_map_values = "warn"

crates/completest-pty/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ fn comptest(
472472

473473
let mut stream = process.get_raw_handle()?;
474474
// pass the completion input
475-
write!(stream, "{}", input)?;
475+
write!(stream, "{input}")?;
476476
stream.flush()?;
477477

478478
let (snd, rcv) = std::sync::mpsc::channel();

0 commit comments

Comments
 (0)