ruff: enable and fix C4 ruleset
This commit is contained in:
parent
dee0b128ca
commit
2849870773
19 changed files with 48 additions and 38 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue