Skip to content

Commit ec6b62f

Browse files
authored
Merge pull request #176 from python-openapi/dependabot/pip/black-24.3.0
Bump black from 23.11.0 to 24.3.0
2 parents 9cdc1b4 + fe869c7 commit ec6b62f

File tree

3 files changed

+29
-25
lines changed

3 files changed

+29
-25
lines changed

poetry.lock

Lines changed: 25 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jsonschema-specifications = ">=2023.5.2"
6464
docs = ["sphinx", "sphinx-immaterial"]
6565

6666
[tool.poetry.dev-dependencies]
67-
black = "^23.11.0"
67+
black = "^24.3.0"
6868
isort = "^5.13.2"
6969
pre-commit = "*"
7070
pytest = "^8"

tests/integration/test_validators.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -540,9 +540,9 @@ def test_nullable_schema_combos(
540540
"$defs": {
541541
"NullableText": {
542542
"type": "string",
543-
"nullable": False
544-
if schema_type == "oneOf"
545-
else is_nullable,
543+
"nullable": (
544+
False if schema_type == "oneOf" else is_nullable
545+
),
546546
},
547547
"NullableEnum": {
548548
"type": "string",

0 commit comments

Comments
 (0)