Skip to content

Commit

Permalink
Change typing
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielNoord committed Sep 15, 2021
1 parent 0f1582a commit ce75070
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pylint/checkers/imports.py
Expand Up @@ -67,7 +67,7 @@
from pylint.graph import DotBackend, get_cycles
from pylint.interfaces import IAstroidChecker
from pylint.lint import PyLinter
from pylint.reporters.ureports.nodes import Paragraph, VerbatimText, VNode
from pylint.reporters.ureports.nodes import Paragraph, Section, VerbatimText
from pylint.typing import CheckerStats
from pylint.utils import IsortDriver, get_global_option

Expand Down Expand Up @@ -186,7 +186,9 @@ def _dependencies_graph(filename: str, dep_info: Dict[str, List[str]]) -> str:
return printer.generate(filename)


def _make_graph(filename: str, dep_info: Dict[str, List[str]], sect: VNode, gtype: str):
def _make_graph(
filename: str, dep_info: Dict[str, List[str]], sect: Section, gtype: str
):
"""generate a dependencies graph and add some information about it in the
report's section
"""
Expand Down

0 comments on commit ce75070

Please sign in to comment.