Skip to content

Commit

Permalink
Bump codespell from 2.2.6 to 2.4.1 (#16934)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Streed <alex.s@prefect.io>
  • Loading branch information
dependabot[bot] and desertaxle authored Feb 3, 2025
1 parent d3559ee commit 97b7b08
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/.*
Expand Down
2 changes: 1 addition & 1 deletion docs/v3/get-started/whats-new-prefect-3.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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).
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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=[
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
16 changes: 10 additions & 6 deletions tests/test_exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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" }),
Expand Down

0 comments on commit 97b7b08

Please sign in to comment.