Taplo and typos in CI, TOML cleanup (#4510)

* Taplo and typos in CI

* Clean up Cargo.toml files

* Fix CI

* Fix CI

* Run typos in CI

* Loosen typos a bit

* Fix typos

* Fix taplo

* Switch to Tombi

* Fix Tombi errors

* Remove unused typos config

* Tombi fmt

* Remove extraneous cargo fmt

* fix typos
This commit is contained in:
aecsocket
2025-10-12 21:18:38 +01:00
committed by GitHub
parent ea594ec27c
commit 4cd8ccd319
46 changed files with 650 additions and 468 deletions

View File

@@ -129,7 +129,7 @@ impl ApiVersion for ApiV3 {
modify_json,
);
// Add a versiom.
// Add a version.
let req = TestRequest::post()
.uri("/v3/version")
.append_pat(pat)

View File

@@ -59,7 +59,7 @@ impl TemporaryDatabase {
let database_url =
dotenvy::var("DATABASE_URL").expect("No database URL");
// Create the temporary (and template datbase, if needed)
// Create the temporary (and template database, if needed)
Self::create_temporary(&database_url, &temp_database_name).await;
// Pool to the temporary database
@@ -102,7 +102,7 @@ impl TemporaryDatabase {
}
}
// Creates a template and temporary databse (panics)
// Creates a template and temporary database (panics)
// 1. Waits to obtain a pg lock on the main database
// 2. Creates a new template database called 'TEMPLATE_DATABASE_NAME', if needed
// 3. Switches to the template database

View File

@@ -390,7 +390,7 @@ pub async fn add_project_beta(api: &ApiV3) -> (Project, Version) {
}
pub async fn add_organization_zeta(api: &ApiV3) -> Organization {
// Add an organzation.
// Add an organization.
let req = TestRequest::post()
.uri("/v3/organization")
.append_pat(USER_USER_PAT)

View File

@@ -35,7 +35,7 @@ pub struct PermissionsTest<'a, A: Api> {
user_pat: Option<&'a str>,
// Whether or not the user ID should be removed from the project/organization team after the test
// (This is mostly reelvant if you are also using an existing project/organization, and want to do
// (This is mostly relevant if you are also using an existing project/organization, and want to do
// multiple tests with the same user.
remove_user: bool,
@@ -1056,10 +1056,10 @@ async fn create_dummy_org(setup_api: &ApiV3) -> (String, String) {
let organization = setup_api
.get_organization_deserialized(&slug, ADMIN_USER_PAT)
.await;
let organizaion_id = organization.id.to_string();
let organization_id = organization.id.to_string();
let team_id = organization.team_id.to_string();
(organizaion_id, team_id)
(organization_id, team_id)
}
async fn add_project_to_org(