| 1 | from __future__ import print_function |
| 2 | """ |
| 3 | lint.py: Stub for linter |
| 4 | """ |
| 5 | |
| 6 | from typing import TYPE_CHECKING |
| 7 | if TYPE_CHECKING: |
| 8 | from _devbuild.gen.syntax_asdl import command_t |
| 9 | from core import alloc |
| 10 | |
| 11 | |
| 12 | def Lint(arena, node): |
| 13 | # type: (alloc.Arena, command_t) -> None |
| 14 | """ |
| 15 | TODO: implement linter |
| 16 | |
| 17 | a=`echo hi` # no |
| 18 | a=$(echo hi) # yes |
| 19 | """ |
| 20 | print('TODO') |