♻️ (game.py, signals.py): Refactor comparison operators for better readability
All checks were successful
Build / Code quality (push) Successful in 9m51s
Creates a docker image for production / Build the docker image (push) Successful in 57s

🔧 (apps.py): Import signals in ready method to ensure signals are loaded when the app starts
🔧 (pyproject.toml): Add PGH004 to lint ignore list to avoid linting errors related to PostgreSQL-specific code
This commit is contained in:
2025-02-05 12:06:07 -03:00
parent 6795697dea
commit 1e0af277fe
4 changed files with 4 additions and 4 deletions

View File

@@ -46,7 +46,6 @@ class GameEventResource(APIView):
def post(self, request, game_id):
"""Creates a new event"""
try:
game = Game.objects.get(pk=game_id)
except Game.DoesNotExist: