chore: enforce more ruff rules (#31447)

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
This commit is contained in:
Maxime Beauchemin
2024-12-18 17:41:34 -08:00
committed by GitHub
parent 9da65d6bfd
commit e51b95ffa8
375 changed files with 1821 additions and 1718 deletions

View File

@@ -133,7 +133,7 @@ def test_should_raise_exception_duplication_on_multiindex():
2 1 1 1 1 1 1 1 1
"""
with pytest.raises(InvalidPostProcessingError):
with pytest.raises(InvalidPostProcessingError): # noqa: PT012
pp.rename(
df=df,
columns={
@@ -151,7 +151,7 @@ def test_should_raise_exception_duplication_on_multiindex():
def test_should_raise_exception_invalid_level():
with pytest.raises(InvalidPostProcessingError):
with pytest.raises(InvalidPostProcessingError): # noqa: PT012
pp.rename(
df=categories_df,
columns={