Skip to content

Commit

Permalink
Fix benchmark typecheck import
Browse files Browse the repository at this point in the history
  • Loading branch information
nickdrozd committed Sep 28, 2024
1 parent 8630cfd commit 5b1fa73
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/benchmark/test_baseline_benchmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,16 @@

# pylint: disable=missing-function-docstring

from __future__ import annotations

import os
import pprint
import time
from typing import TYPE_CHECKING
from unittest.mock import patch

import pytest
from astroid import nodes
from pytest_benchmark.fixture import BenchmarkFixture

from pylint.checkers import BaseRawFileChecker
from pylint.lint import PyLinter, check_parallel
Expand All @@ -22,6 +24,9 @@
from pylint.typing import FileItem
from pylint.utils import register_plugins

if TYPE_CHECKING:
from pytest_benchmark.fixture import BenchmarkFixture


def _empty_filepath() -> str:
return os.path.abspath(
Expand Down

0 comments on commit 5b1fa73

Please sign in to comment.