Skip to content

Commit

Permalink
Disable flake8 error that trips over forward references
Browse files Browse the repository at this point in the history
  • Loading branch information
EboMike committed Mar 22, 2024
1 parent 14a5332 commit f1f618f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions db/game.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 3 additions & 0 deletions db/sm5.py
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit f1f618f

Please sign in to comment.