Skip to content

Commit 04ae866

Browse files
author
Douglas Mun
committed
Sort imports in the new tests to satisfy ruff
The sibling tests in conditionals/ use an unsorted import block, but the repo's own pre-commit config runs ruff, so follow the linter here.
1 parent 3b8c49a commit 04ae866

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tests/passing_tests/conditionals/map_or_default.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
# is present and to 0 when it is not. Compiling it as a truthiness test on
66
# the pointer makes the counter add a 0/1 flag instead of the stored count,
77
# so it sticks at 1 (or 2) forever.
8-
from pythonbpf import bpf, map, section, bpfglobal, compile
9-
from ctypes import c_void_p, c_int64, c_uint64
8+
from ctypes import c_int64, c_uint64, c_void_p
9+
10+
from pythonbpf import bpf, bpfglobal, compile, map, section
1011
from pythonbpf.maps import HashMap
1112

1213

0 commit comments

Comments
 (0)