From f1f618f24b2960820535e0350f85750c719ecb68 Mon Sep 17 00:00:00 2001 From: Ebo Date: Fri, 22 Mar 2024 15:01:00 -0700 Subject: [PATCH] Disable flake8 error that trips over forward references --- db/game.py | 3 +++ db/sm5.py | 3 +++ 2 files changed, 6 insertions(+) diff --git a/db/game.py b/db/game.py index 963e6a6..1d278df 100644 --- a/db/game.py +++ b/db/game.py @@ -1,3 +1,6 @@ +# flake8: noqa: F821 +# Disable "unknown name" because we're using forward references here that flake8 has no love for. + from __future__ import annotations from db.types import Team, IntRole, EventType, PlayerStateType diff --git a/db/sm5.py b/db/sm5.py index 31bdaf3..687d5d8 100644 --- a/db/sm5.py +++ b/db/sm5.py @@ -1,3 +1,6 @@ +# flake8: noqa: F821 +# Disable "unknown name" because we're using forward references here that flake8 has no love for. + from __future__ import annotations try: