Skip to content

Commit

Permalink
Use omegaconf antlr in imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jlopezpena committed Dec 5, 2023
1 parent d720a18 commit 4fce07b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion hydra/core/override_parser/overrides_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import sys
from typing import Any, List, Optional

from antlr4.error.Errors import LexerNoViableAltException, RecognitionException
from omegaconf.vendor.antlr4.error.Errors import LexerNoViableAltException, RecognitionException

from hydra._internal.grammar import grammar_functions
from hydra._internal.grammar.functions import Functions
Expand Down
6 changes: 3 additions & 3 deletions hydra/core/override_parser/overrides_visitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
import warnings
from typing import Any, Dict, List, Optional, Tuple, Union

from antlr4 import ParserRuleContext, TerminalNode, Token
from antlr4.error.ErrorListener import ErrorListener
from antlr4.tree.Tree import TerminalNodeImpl
from omegaconf.vendor.antlr4 import ParserRuleContext, TerminalNode, Token
from omegaconf.vendor.antlr4.error.ErrorListener import ErrorListener
from omegaconf.vendor.antlr4.tree.Tree import TerminalNodeImpl

from hydra._internal.grammar.functions import FunctionCall, Functions
from hydra._internal.grammar.utils import _ESC_QUOTED_STR
Expand Down

0 comments on commit 4fce07b

Please sign in to comment.