diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f6d4b210c056..23afbb323852 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,7 +7,7 @@ repos: args: [--fix, --exit-non-zero-on-fix, --show-fixes] - id: ruff-format - repo: https://github.com/codespell-project/codespell - rev: v2.2.6 + rev: v2.4.1 hooks: - id: codespell exclude: package-lock.json|_vendor/.*|docs/styles/.* diff --git a/docs/v3/get-started/whats-new-prefect-3.mdx b/docs/v3/get-started/whats-new-prefect-3.mdx index 7f73a289165f..efc4915a6ce9 100644 --- a/docs/v3/get-started/whats-new-prefect-3.mdx +++ b/docs/v3/get-started/whats-new-prefect-3.mdx @@ -49,4 +49,4 @@ Prefect 3.0 doesn't just bring new features; it also delivers significant perfor ## Release notes -See release notes for each released version in the [Gitub repository](https://github.com/PrefectHQ/prefect/releases). +See release notes for each released version in the [GitHub repository](https://github.com/PrefectHQ/prefect/releases). diff --git a/requirements-dev.txt b/requirements-dev.txt index e885a70501dd..661566ffb230 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -27,7 +27,7 @@ respx # Linters and dev tools that are also in .pre-commit-config.yaml, which # should usually be updated together. -codespell==2.2.6 +codespell==2.4.1 ruff==0.9.4 mypy==1.14.1 vermin==1.6.0 diff --git a/src/integrations/prefect-databricks/prefect_databricks/models/jobs.py b/src/integrations/prefect-databricks/prefect_databricks/models/jobs.py index 0c1f9bf7a739..ecf78b40d0d1 100644 --- a/src/integrations/prefect-databricks/prefect_databricks/models/jobs.py +++ b/src/integrations/prefect-databricks/prefect_databricks/models/jobs.py @@ -4098,7 +4098,7 @@ class Run(BaseModel): None, description=( "The list of tasks performed by the run. Each task has its own `run_id`" - " which you can use to call `JobsGetOutput` to retrieve the run resutls." + " which you can use to call `JobsGetOutput` to retrieve the run results." ), example=[ { diff --git a/src/integrations/prefect-databricks/prefect_databricks/schemas/jobs-2.1-aws.yaml b/src/integrations/prefect-databricks/prefect_databricks/schemas/jobs-2.1-aws.yaml index adfbce22154a..40e9a065391f 100644 --- a/src/integrations/prefect-databricks/prefect_databricks/schemas/jobs-2.1-aws.yaml +++ b/src/integrations/prefect-databricks/prefect_databricks/schemas/jobs-2.1-aws.yaml @@ -2167,7 +2167,7 @@ components: tasks: description: The list of tasks performed by the run. Each task has its own `run_id` which you can use to call `JobsGetOutput` to retrieve the run - resutls. + results. example: - attempt_number: 0 cleanup_duration: 0 diff --git a/src/integrations/prefect-databricks/prefect_databricks/schemas/original/jobs-2.1-aws.yaml b/src/integrations/prefect-databricks/prefect_databricks/schemas/original/jobs-2.1-aws.yaml index 40ac576503d9..be4e9097cbbb 100644 --- a/src/integrations/prefect-databricks/prefect_databricks/schemas/original/jobs-2.1-aws.yaml +++ b/src/integrations/prefect-databricks/prefect_databricks/schemas/original/jobs-2.1-aws.yaml @@ -2146,7 +2146,7 @@ components: tasks: description: The list of tasks performed by the run. Each task has its own `run_id` which you can use to call `JobsGetOutput` to retrieve the run - resutls. + results. example: - attempt_number: 0 cleanup_duration: 0 diff --git a/src/integrations/prefect-github/prefect_github/schemas/graphql_schema.py b/src/integrations/prefect-github/prefect_github/schemas/graphql_schema.py index ec6404ac261f..16e1682d3206 100644 --- a/src/integrations/prefect-github/prefect_github/schemas/graphql_schema.py +++ b/src/integrations/prefect-github/prefect_github/schemas/graphql_schema.py @@ -5,7 +5,7 @@ graphql_schema = sgqlc.types.Schema() -# Unexport Node/PageInfo, let schema re-declare them +# Unexport Node/PageInfo, let schema redeclare them graphql_schema -= sgqlc.types.relay.Node graphql_schema -= sgqlc.types.relay.PageInfo diff --git a/tests/test_exceptions.py b/tests/test_exceptions.py index a4d517248fec..7be6ccf19c4a 100644 --- a/tests/test_exceptions.py +++ b/tests/test_exceptions.py @@ -108,15 +108,19 @@ def test_from_bad_params(self): "Function expects parameters ['dog', 'cat'] but was provided with" " parameters ['puppy', 'kitty']" ) - sme = SignatureMismatchError.from_bad_params(["dog", "cat"], ["puppy", "kitty"]) - assert str(sme) == expected + signature_mismatch_error = SignatureMismatchError.from_bad_params( + ["dog", "cat"], ["puppy", "kitty"] + ) + assert str(signature_mismatch_error) == expected def test_pickle_roundtrip(self): - sme = SignatureMismatchError.from_bad_params(["dog", "cat"], ["puppy", "kitty"]) - pickled = cloudpickle.dumps(sme) + signature_mismatch_error = SignatureMismatchError.from_bad_params( + ["dog", "cat"], ["puppy", "kitty"] + ) + pickled = cloudpickle.dumps(signature_mismatch_error) unpickled = cloudpickle.loads(pickled) - assert str(sme) == str(unpickled) - assert sme.args == unpickled.args + assert str(signature_mismatch_error) == str(unpickled) + assert signature_mismatch_error.args == unpickled.args class TestPrefectModuleImportExceptions: diff --git a/ui-v2/src/api/deployments/use-list-deployments-with-flows/use-list-deployments-with-flows.test.ts b/ui-v2/src/api/deployments/use-list-deployments-with-flows/use-list-deployments-with-flows.test.ts index 7ff321d2eb6e..03c1c01bce49 100644 --- a/ui-v2/src/api/deployments/use-list-deployments-with-flows/use-list-deployments-with-flows.test.ts +++ b/ui-v2/src/api/deployments/use-list-deployments-with-flows/use-list-deployments-with-flows.test.ts @@ -7,7 +7,7 @@ import { describe, expect, it } from "vitest"; import { useListDeploymentsWithFlows } from "./use-list-deployments-with-flows"; describe("buildPaginateDeploymentsWithFlowQuery", () => { - it("fetches deplyoments pagination and flow filter APIs and joins data", async () => { + it("fetches deployments pagination and flow filter APIs and joins data", async () => { const MOCK_DEPLOYMENTS = [ createFakeDeployment({ id: "0", flow_id: "a" }), createFakeDeployment({ id: "1", flow_id: "a" }),