mirror of
https://github.com/fastapi/fastapi.git
synced 2026-05-18 21:39:22 -04:00
⬆ Bump ruff to 0.9.4 (#13299)
* ⬆ Bump ruff from 0.6.4 to 0.9.4 Bumps [ruff](https://github.com/astral-sh/ruff) from 0.6.4 to 0.9.4. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.6.4...0.9.4) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * update pre-commit accordingly and make formatting changes * 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alejandra <90076947+alejsdev@users.noreply.github.com> Co-authored-by: svlandeg <sofie.vanlandeghem@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -71,9 +71,9 @@ def test_crud_app(client: TestClient):
|
||||
assert response.json() == snapshot(
|
||||
{"age": 30, "id": IsInt(), "name": "Dead Pond"}
|
||||
)
|
||||
assert (
|
||||
response.json()["id"] != 9000
|
||||
), "The ID should be generated by the database"
|
||||
assert response.json()["id"] != 9000, (
|
||||
"The ID should be generated by the database"
|
||||
)
|
||||
|
||||
# Read a hero
|
||||
hero_id = response.json()["id"]
|
||||
|
||||
Reference in New Issue
Block a user