Skip to content

Commit

Permalink
mypy ignore comments
Browse files Browse the repository at this point in the history
  • Loading branch information
pomponchik committed Apr 26, 2024
1 parent 3447604 commit 799fca6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metronomes/metronome.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from typing import Type, Callable, Union, Optional, Any

try:
from typing import Literal
from typing import Literal # type: ignore[attr-defined]
except ImportError: # pragma: no cover
from typing_extensions import Literal # type: ignore[assignment]
from typing_extensions import Literal # type: ignore[assignment, unused-ignore]

from threading import Thread, RLock
from time import perf_counter, sleep
Expand Down

0 comments on commit 799fca6

Please sign in to comment.