Skip to content

Commit 5311b6b

Browse files
authored
A little bit of cleanup (#1286)
2 parents 4563448 + 86595d9 commit 5311b6b

File tree

7 files changed

+15
-8
lines changed

7 files changed

+15
-8
lines changed

.github/workflows/typos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ jobs:
1313

1414
steps:
1515
- uses: actions/checkout@v4
16-
- uses: crate-ci/typos@v1.19.0
16+
- uses: crate-ci/typos@v1.20.1

.typos.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
[default]
2+
extend-ignore-re = [
3+
# Mock token
4+
";iuani;ansd;ifgjbnai;sdjfgb",
5+
]
6+
17
[files]
28
extend-exclude = [
39
# Typo "achived" is a breaking change to fix

bridge/svix-bridge-types/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ impl TransformerJob {
128128
}
129129

130130
/// Effectively a black box to the supervisor.
131+
///
131132
/// Plugins should run until they are done, and likely they should not be "done" until the program
132133
/// exits.
133134
#[async_trait]

go/internal/openapi/api_event_type.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17392,7 +17392,7 @@
1739217392
},
1739317393
"/api/v1/event-type/import/openapi/": {
1739417394
"post": {
17395-
"description": "Given an OpenAPI spec, create new or update existing event types.\nIf an existing `archived` event type is updated, it will be unarchvied.\n\nThe importer will convert all webhooks found in the either the `webhooks` or `x-webhooks`\ntop-level.",
17395+
"description": "Given an OpenAPI spec, create new or update existing event types.\nIf an existing `archived` event type is updated, it will be unarchived.\n\nThe importer will convert all webhooks found in the either the `webhooks` or `x-webhooks`\ntop-level.",
1739617396
"operationId": "v1.event-type.import-openapi",
1739717397
"parameters": [
1739817398
{

server/svix-server/src/queue/redis.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ async fn new_pair_inner(
166166
}
167167
}
168168

169-
// Redis durationns are given in integer numbers of milliseconds, so the pending_duration (the
169+
// Redis durations are given in integer numbers of milliseconds, so the pending_duration (the
170170
// time in which a task is allowed to be processing before being restarted) must be converted to
171171
// one.
172172
let pending_duration: i64 = pending_duration

server/svix-server/tests/it/e2e_attempt.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -894,13 +894,13 @@ async fn test_pagination_by_msg() {
894894
}
895895

896896
/// Adds 5ms to a [`chrono::DateTime`] for testing `before` and `after`
897-
fn add_5ms<T: chrono::TimeZone>(dur: chrono::DateTime<T>) -> chrono::DateTime<T> {
898-
dur + chrono::Duration::from_std(std::time::Duration::from_millis(5)).unwrap()
897+
fn add_5ms<T: chrono::TimeZone>(ts: chrono::DateTime<T>) -> chrono::DateTime<T> {
898+
ts + chrono::Duration::from_std(std::time::Duration::from_millis(5)).unwrap()
899899
}
900900

901901
/// Subtracts 5ms to a [`chrono::DateTime`] for testing `before` and `after`
902-
fn sub_5ms<T: chrono::TimeZone>(dur: chrono::DateTime<T>) -> chrono::DateTime<T> {
903-
dur - chrono::Duration::from_std(std::time::Duration::from_millis(5)).unwrap()
902+
fn sub_5ms<T: chrono::TimeZone>(ts: chrono::DateTime<T>) -> chrono::DateTime<T> {
903+
ts - chrono::Duration::from_std(std::time::Duration::from_millis(5)).unwrap()
904904
}
905905
}
906906

0 commit comments

Comments
 (0)