From 56774b78217a04bd61935cdb6964f10228810126 Mon Sep 17 00:00:00 2001
From: Michele Nottoli <michele.nottoli@gmail.com>
Date: Tue, 24 Oct 2023 14:00:57 +0200
Subject: [PATCH] Linted.

---
 grext/buffer.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/grext/buffer.py b/grext/buffer.py
index bf9d8cf..373eba7 100644
--- a/grext/buffer.py
+++ b/grext/buffer.py
@@ -26,9 +26,9 @@ class CircularBuffer:
         """Get the last `m` matrices."""
         if m < 0:
             raise ValueError("`m` should be larger than 0.")
-        elif m > self.n:
+        if m > self.n:
             raise ValueError("`m` should be less than or equal to the buffer `n`.")
-        elif m > self.count:
+        if m > self.count:
             raise ValueError("`m` is larger than the stored matrices.")
 
         start_idx = (self.index - m) % self.n
-- 
GitLab