Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
[tool.poetry]
[project]
name = "tomlkit"
version = "0.15.1"
description = "Style preserving TOML library"
authors = [
"Sébastien Eustace <sebastien@eustace.io>",
"Frost Ming <me@frostming.com>"
{ name = "Sébastien Eustace", email = "sebastien@eustace.io" },
{ name = "Frost Ming", email = "me@frostming.com" }
]
license = "MIT"

readme = "README.md"
requires-python = ">=3.9"

homepage = "https://github.com/python-poetry/tomlkit"
repository = "https://github.com/python-poetry/tomlkit"
[project.urls]
Homepage = "https://github.com/python-poetry/tomlkit"
Repository = "https://github.com/python-poetry/tomlkit"

[tool.poetry]
include = [
{ path = "tomlkit/py.typed" },
{ path = "tests", format = "sdist" },
{ path = "docs", format = "sdist" },
{ path = "CHANGELOG.md", format = "sdist" },
]

[tool.poetry.dependencies]
python = ">=3.9"

[tool.poetry.group.dev.dependencies]
Comment thread
hroncok marked this conversation as resolved.
pytest = "^7.2.0"
pytest-cov = "^4.0.0"
Expand Down Expand Up @@ -64,5 +64,5 @@ enable_error_code = [
]

[build-system]
requires = ["poetry-core>=1.0.0a9"]
requires = ["poetry-core>=2.0.0"]
build-backend = "poetry.core.masonry.api"
2 changes: 1 addition & 1 deletion tests/test_items.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def test_aot_unwrap() -> None:
d = item([{"a": "A"}, {"b": "B"}])
unwrapped = d.unwrap()
assert_is_ppo(unwrapped, list)
for du, _ in zip(unwrapped, d): # noqa: B905
for du, _ in zip(unwrapped, d):
assert_is_ppo(du, dict)
for ku in du:
vu = du[ku]
Expand Down
2 changes: 1 addition & 1 deletion tomlkit/container.py
Original file line number Diff line number Diff line change
Expand Up @@ -1278,7 +1278,7 @@ def _equal_with_nan(left: Any, right: Any) -> bool:
if isinstance(left, list) and isinstance(right, list):
if len(left) != len(right):
return False
return all(_equal_with_nan(l, r) for l, r in zip(left, right)) # noqa: B905, E741
return all(_equal_with_nan(l, r) for l, r in zip(left, right)) # noqa: E741

if isinstance(left, float) and isinstance(right, float):
if math.isnan(left) and math.isnan(right):
Expand Down
Loading