Skip to content

Commit b6571a8

Browse files
committed
fix ruff
1 parent 9c923a9 commit b6571a8

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

noxfile.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,12 @@ def test_rust(session: nox.Session):
121121
# We need to pass the feature set to the test command
122122
# so that it can be used in the test code
123123
# (e.g. for `#[cfg(feature = "abi3-py37")]`)
124-
if feature_set and "abi3" in feature_set and FREE_THREADED_BUILD and sys.version_info < (3, 15):
124+
if (
125+
feature_set
126+
and "abi3" in feature_set
127+
and FREE_THREADED_BUILD
128+
and sys.version_info < (3, 15)
129+
):
125130
# free-threaded builds don't support abi3 yet
126131
continue
127132

0 commit comments

Comments
 (0)