From 29805dd99d6f7d7272ab3e74b00b1abd12492e5d Mon Sep 17 00:00:00 2001 From: lulunac27a <100660343+lulunac27a@users.noreply.github.com> Date: Sun, 20 Oct 2024 18:26:00 -0500 Subject: [PATCH] Add docstring to fix pylint warning --- app.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app.py b/app.py index c00dc90..7f3013a 100644 --- a/app.py +++ b/app.py @@ -33,6 +33,9 @@ def add_xp(self, amount): # add XP self.check_level_up() # check if user has leveled up def check_level_up(self): # check if user has leveled up + """ + Check if the user has leveled up. + """ while ( self.xp >= self.xp_required ): # if user XP is greater than or equal to XP required