Skip to content

Commit 7720fe9

Browse files
format chore
1 parent 7aeac86 commit 7720fe9

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

pythonbpf/globals_pass.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ def emit_global(module: ir.Module, node, name):
4949
gvar.global_constant = False
5050
return gvar
5151

52+
5253
def globals_processing(tree, module):
5354
"""Process stuff decorated with @bpf and @bpfglobal except license and return the section name"""
5455
globals_sym_tab = []

tests/failing_tests/globals.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ def somevalue2() -> c_int64:
1818
def somevalue1() -> c_int32:
1919
return c_int32(0)
2020

21-
import ast
22-
from dataclasses import dataclass
23-
from typing import List
2421

2522
# --- Passing examples ---
2623

0 commit comments

Comments
 (0)