Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lyriccoder committed Jul 8, 2020
1 parent b0275a9 commit 3462bc4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion aibolit/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
from pathlib import Path
from sys import stdout
from typing import List

import javalang
import numpy as np # type: ignore
import requests
from lxml import etree # type: ignore
Expand Down Expand Up @@ -163,7 +165,7 @@ def flatten(l):
return [item for sublist in l for item in sublist]


def find_annotation_by_node_type(tree, node_type):
def find_annotation_by_node_type(tree: javalang.tree.CompilationUnit, node_type: javalang.tree.Node):
"""Search nodes with annotations.
:param tree: javalang.tree
Expand Down

0 comments on commit 3462bc4

Please sign in to comment.