ruff: enable and fix C4 ruleset

This commit is contained in:
Dima Gerasimov 2024-08-27 22:50:37 +01:00
parent dee0b128ca
commit 2849870773
19 changed files with 48 additions and 38 deletions

View file

@ -222,7 +222,7 @@ def test_as_dataframe() -> None:
from .compat import fromisoformat
it = (dict(i=i, s=f'str{i}') for i in range(5))
it = ({'i': i, 's': f'str{i}'} for i in range(5))
with pytest.warns(UserWarning, match=r"No 'error' column") as record_warnings: # noqa: F841
df: DataFrameT = as_dataframe(it)
# todo test other error col policies