Skip to content

Commit 6b141df

Browse files
committed
style: Apply ruff formatting
1 parent 38e243c commit 6b141df

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

tests/catalog/test_glue_profile.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
from moto import mock_aws
1918
from unittest import mock
19+
20+
from moto import mock_aws
21+
2022
from pyiceberg.catalog.glue import GlueCatalog
2123
from pyiceberg.typedef import Properties
2224

@@ -27,6 +29,7 @@
2729
"client.session-token": "client.session-token",
2830
}
2931

32+
3033
@mock_aws
3134
def test_passing_client_profile_name_properties_to_glue() -> None:
3235
session_properties: Properties = {

tests/io/test_fsspec_profile.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
# under the License.
1717

1818

19-
from unittest import mock
20-
import pytest
2119
import uuid
20+
from unittest import mock
21+
2222
from pyiceberg.io.fsspec import FsspecFileIO
2323
from pyiceberg.typedef import Properties
2424

@@ -29,6 +29,7 @@
2929
"client.session-token": "client.session-token",
3030
}
3131

32+
3233
def test_fsspec_s3_session_properties_with_profile() -> None:
3334
session_properties: Properties = {
3435
"s3.profile-name": "test-profile",
@@ -56,6 +57,7 @@ def test_fsspec_s3_session_properties_with_profile() -> None:
5657
session=mock_aio_session(),
5758
)
5859

60+
5961
def test_fsspec_s3_session_properties_with_client_profile() -> None:
6062
session_properties: Properties = {
6163
"client.profile-name": "test-profile",

0 commit comments

Comments
 (0)