mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore: enforce more ruff rules (#31447)
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
This commit is contained in:
committed by
GitHub
parent
9da65d6bfd
commit
e51b95ffa8
@@ -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={
|
||||
|
||||
Reference in New Issue
Block a user