From 1d7a436c9f2ffed2c395be7a8c76f1586a9cd0c8 Mon Sep 17 00:00:00 2001 From: Pragyansh Chaturvedi Date: Wed, 12 Nov 2025 01:30:15 +0530 Subject: [PATCH] Add linting function for RingBuf.discard --- pythonbpf/maps/maps.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pythonbpf/maps/maps.py b/pythonbpf/maps/maps.py index af07138..783f03f 100644 --- a/pythonbpf/maps/maps.py +++ b/pythonbpf/maps/maps.py @@ -48,4 +48,7 @@ class RingBuffer: def submit(self, data, flags=0): pass + def discard(self, data, flags=0): + pass + # add discard, output and also give names to flags and stuff